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

[v-loading] Failed to resolve directive: loading #4080

Closed
ilii opened this issue Apr 5, 2024 · 6 comments
Closed

[v-loading] Failed to resolve directive: loading #4080

ilii opened this issue Apr 5, 2024 · 6 comments
Labels
need more info need more information to resolve issue

Comments

@ilii
Copy link

ilii commented Apr 5, 2024

tdesign-vue-next 版本

1.9.3

重现链接

重现步骤

Loading...

期望结果

No response

实际结果

错误详情

[Vue warn]: Failed to resolve directive: loading 
  at <Add onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > 
  at <RouterView> 
  at <Content> 
  at <TContent> 
  at <TLayout> 
  at <TLayout> 
  at <Layouts class="dark" onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > 
  at <RouterView key="cn" class="dark" > 
  at <TConfigProvider global-config= 
Object { pagination: {…}, cascader: {…}, calendar: {…}, transfer: {…}, timePicker: {…}, dialog: {…}, drawer: {…}, popconfirm: {…}, table: {…}, select: {…}, … }
 > 
  at <App>

框架版本

No response

浏览器版本

No response

系统版本

Windows 11 X64

Node版本

No response

补充说明

vscode 开发模式 Vue 3.4.21 Vite 5.2.3 tdesign 1.9.3

Copy link
Contributor

github-actions bot commented Apr 5, 2024

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

@ilii
Copy link
Author

ilii commented Apr 5, 2024 via email

@uyarn
Copy link
Collaborator

uyarn commented Apr 5, 2024

简单测试了一下可以正常使用 麻烦提供个最小的复现DEMO呢?

@uyarn uyarn added the need more info need more information to resolve issue label Apr 5, 2024
@mayday97
Copy link

我也遇到了
image
image

"tdesign-vue-next": "^1.9.3",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"vue": "^3.4.21",

@mayday97
Copy link

image

@uyarn
Copy link
Collaborator

uyarn commented Apr 18, 2024

@mayday97 unplugin tdesign的没有支持directive 你的场景直接用table的loading API就可以 不需要用v-loading

@uyarn uyarn closed this as completed Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info need more information to resolve issue
Projects
None yet
Development

No branches or pull requests

3 participants