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] loading的delay属性是delay毫秒后执行,还是多执行delay毫秒? #3441

Closed
XAllure opened this issue Oct 1, 2023 · 6 comments
Assignees
Labels
📒 Documentation Improvements or additions to documentation

Comments

@XAllure
Copy link

XAllure commented Oct 1, 2023

tdesign-vue-next 版本

1.5.7

重现链接

No response

重现步骤

No response

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

目前我使用的时候,显示的是delay毫秒后才显示loading。就算提前执行hide方法,仍是会在delay毫秒后显示loading后才执行hide。那这样子不还是闪烁吗?感觉和说明有点不符,应该是立即显示loading,然后在调用hide时多执行delay毫秒后才销毁才对啊。
image

@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2023

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

@uyarn
Copy link
Collaborator

uyarn commented Oct 1, 2023

目前是延长多少秒后执行

@uyarn
Copy link
Collaborator

uyarn commented Oct 1, 2023

@chaishi 这个描述好像是和实现的不符?

@uyarn uyarn added the 💭 discussion we are discussing label Oct 1, 2023
@XAllure
Copy link
Author

XAllure commented Oct 2, 2023

@chaishi 这个描述好像是和实现的不符?

那不然就应该是在delay毫秒前就执行hide了 delay毫秒后就不要再显示loading了

@uyarn
Copy link
Collaborator

uyarn commented Oct 7, 2023

讨论了下 这个是描述错误 本意是为了不多次出现Loading来使用 我们改下文档

@uyarn uyarn added 📒 Documentation Improvements or additions to documentation and removed 💭 discussion we are discussing labels Oct 7, 2023
@uyarn uyarn closed this as completed Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📒 Documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants