[Switch] 新增before-change
API
#4653
Labels
easy
easy level of difficulties
💪🏻 enhancement
New feature or request
issueShoot
to be published
to be published
这个功能解决了什么问题
switch 状态改变前的钩子, 返回 false 或者返回 Promise 且被 reject 则停止切换
你建议的方案是什么
参考element plus
IssueShoot
pull request
并合并为准The text was updated successfully, but these errors were encountered: