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

[Bug Report] v-loading updates the value immediately when the last loading state expires, and DOM does not update the loading state. #14010

Closed
sjueshang opened this issue Jan 8, 2019 · 1 comment

Comments

@sjueshang
Copy link

Element UI version

2.4.11

OS/Browsers version

window7 /Chrome 71.0.3578.98

Vue version

2.5.21

Reproduction Link

https://jsfiddle.net/sjueshang/qh40zvnb/1/

Steps to reproduce

首先,点击一次按钮;
在加载状态停止的时刻,二次点击(最好连续点击),就会复现(v-loading并未起作用);
个人疑问:
尝试使用setTimeout延迟改loading的值,并未解决问题。
loading值已从false改为true,dom未出现加载状态?怀疑是值更新的时间差?

What is Expected?

此操作,在表格和分页组件中,需要使用,比如,快速切换下一页,有时会出现加载状态,有时没出现加载状态,影响体验?
希望能说明是什么问题?有什么补救措施?

What is actually happening?

希望有补救措施

@element-bot element-bot changed the title [Bug Report] v-loading在上一次加载状态截止的时刻,马上更新值,dom并未更新加载状态 [Bug Report] v-loading updates the value immediately when the last loading state expires, and DOM does not update the loading state. Jan 8, 2019
@luckyCao luckyCao self-assigned this May 7, 2019
@stale
Copy link

stale bot commented May 6, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 6, 2020
@stale stale bot closed this as completed May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants