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

[Toast] 使vue扩展的类型失效 #1730

Open
ry0513 opened this issue Jan 21, 2025 · 1 comment
Open

[Toast] 使vue扩展的类型失效 #1730

ry0513 opened this issue Jan 21, 2025 · 1 comment

Comments

@ry0513
Copy link

ry0513 commented Jan 21, 2025

tdesign-mobile-vue 版本

1.7.0

重现链接

https://github.com/ry0513/tdesign-mobile-vue-demo-20250121

重现步骤

我想处理 axios 的一些错误使用Toast显示,但是这样会使我的对vue的类型扩展失效,下面是一个简略的例子,使用了vite创建的 vue-ts 模板,扩展方式来至 Vue 扩展全局属性 使用的编辑器是VS Code

2025-01-21.104255.mp4

期望结果

我希望在编辑器中正常显示类型

实际结果

No response

框架版本

3.5.13

浏览器版本

No response

系统版本

No response

Node版本

20.18.1

补充说明

No response

Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant