We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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和组件的隐藏交由组件内部去控制
如果点击确认按钮的时候,事件返回的是一个promise,确认按钮的loading直接为true,如果promise的状态为resolve,关闭组件取消loading,如果promise返回的是reject,确认按钮loading取消,组件不关闭。这样体验会好很多很多,参考ant-design-vue/arco-design都是这样实现的
The text was updated successfully, but these errors were encountered:
👋 @MinMr,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
No branches or pull requests
这个功能解决了什么问题
在点击这个三个组件确认按钮的时候,loading和组件的隐藏交由组件内部去控制
你建议的方案是什么
如果点击确认按钮的时候,事件返回的是一个promise,确认按钮的loading直接为true,如果promise的状态为resolve,关闭组件取消loading,如果promise返回的是reject,确认按钮loading取消,组件不关闭。这样体验会好很多很多,参考ant-design-vue/arco-design都是这样实现的
The text was updated successfully, but these errors were encountered: