Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dialog] inject方式导入在按需引入中无效 #1387

Open
anlyyao opened this issue May 7, 2024 · 1 comment
Open

[Dialog] inject方式导入在按需引入中无效 #1387

anlyyao opened this issue May 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@anlyyao
Copy link
Collaborator

anlyyao commented May 7, 2024

tdesign-mobile-vue 版本

最新版

重现链接

const $dialog: any = inject('$dialog')
$dialog.confirm({
title: '标题',
content: '内容',
confirmBtn: '确认'
})

控制台报错:TypeError: Cannot read properties of undefined (reading 'confirm')
No response

重现步骤

No response

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

github-actions bot commented May 7, 2024

👋 @anlyyao,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao anlyyao added the enhancement New feature or request label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant