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

[Popconfirm] confirm事件功能升级 #4952

Open
MinGuoGuo opened this issue Jan 22, 2025 · 1 comment
Open

[Popconfirm] confirm事件功能升级 #4952

MinGuoGuo opened this issue Jan 22, 2025 · 1 comment

Comments

@MinGuoGuo
Copy link

这个功能解决了什么问题

如果comfirm事件发生时return的是是一个promise,确认按钮的loading交由组件内部去处理,promise返回resolve关闭Popconfirm组件,返回的是reject取消loading即可

你建议的方案是什么

建议像ant-design-vue的Popconfirm组件的promise的一部关闭一样 https://antdv.com/components/popconfirm-cn/#Popconfirm

Copy link
Contributor

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

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

1 participant