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

【feature】message.loading 的返回提供message 实例以及类似modal.update的方法 #19043

Closed
1 task done
kanweiwei opened this issue Sep 27, 2019 · 1 comment
Closed
1 task done
Assignees

Comments

@kanweiwei
Copy link
Contributor

kanweiwei commented Sep 27, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

页面在进行复杂响应时,需要在一个message.loading不同时段内显示不同的提示信息,因为目前该组件显示时有个延迟动画,频繁调用message.loading体验差。希望提供类似modal.update的方法,允许用户直接更新现有的message的内容。

What does the proposed API look like?

let l = message.loading('xxx');
l.instance.update('bbb'); // 更新
l(); // 关闭loading
@afc163
Copy link
Member

afc163 commented Sep 28, 2019

Supported in favor of #18678

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

3 participants