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

[Loading] app.loading(false) 会创建新的loading #2566

Closed
vonlyinno opened this issue Jul 7, 2023 · 4 comments
Closed

[Loading] app.loading(false) 会创建新的loading #2566

vonlyinno opened this issue Jul 7, 2023 · 4 comments
Assignees
Labels
to be published fixed, not be published

Comments

@vonlyinno
Copy link

vonlyinno commented Jul 7, 2023

tdesign-vue 版本

1.4.2

重现链接

No response

重现步骤

loading的全局函数调用:LoadingPlugin(false)

如果指定了false,预期就是不展示loading。
但页面如果因为一些异步的执行时序,导致LoadingPlugin(false)执行时,已经没有实例了,结果是创建了新的loading。并不符合预期。

查看了仓库代码:
image

期望结果

LoadingPlugin(false),如果指定了false,预期就是不展示loading。

实际结果

创建了新的loading实例

框架版本

2.6.14

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

♥️ 有劳 @jchalex @yeshanshan @uyarn @yusongh 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @vonlyinno

@vonlyinno
Copy link
Author

请问有进展吗?

@uyarn uyarn added the to be published fixed, not be published label Sep 5, 2023
@uyarn
Copy link
Collaborator

uyarn commented Sep 6, 2023

fixed in 1.6.5

@uyarn uyarn closed this as completed Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

2 participants