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

[Switch] 功能新增 #4653

Open
labbomb opened this issue Oct 15, 2024 · 1 comment
Open

[Switch] 功能新增 #4653

labbomb opened this issue Oct 15, 2024 · 1 comment

Comments

@labbomb
Copy link

labbomb commented Oct 15, 2024

这个功能解决了什么问题

switch 状态改变前的钩子, 返回 false 或者返回 Promise 且被 reject 则停止切换

你建议的方案是什么

参考element plus
image

Copy link
Contributor

👋 @labbomb,感谢给 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