-
Notifications
You must be signed in to change notification settings - Fork 145
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
Labels
question
Further information is requested
Comments
👋 @anlyyao,感谢给 TDesign 提出了 issue。 |
本地测试了官网给出的三种按需引入方式,inject 都能正常使用,未能复现该问题。 如果后续有用户出现类似问题,欢迎重新开贴讨论~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: