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
2.9.1
2.7.7
2.5.17-beta.0
<alert v-on:hide="doSomething()"></alert>
如果不点击alert组件的确认键,直接点击回退,也会执行doSomething()方法。。主要是我的doSomething是跳转另一个页面的,所以一回退就跳转。
alert组件增加on-alert事件,跟on-hide区分开
alert只提供了on-hide事件
The text was updated successfully, but these errors were encountered:
从你的需求来看,用comfirm组件会不会好些
Sorry, something went wrong.
但是从业务逻辑来看,我只能用alert组件,用户只有一个选择。有解决方法吗?
我也觉得comfirm好点,让comfirm支持隐藏取消按钮即可
confirm: support prop: showCancelButton showConfirmButton #2795
faad1aa
下版本confirm支持showCancelButton和showConfirmButton
No branches or pull requests
VUX version
2.9.1
OS/Browsers version
2.7.7
Vue version
2.5.17-beta.0
Code
Steps to reproduce
如果不点击alert组件的确认键,直接点击回退,也会执行doSomething()方法。。主要是我的doSomething是跳转另一个页面的,所以一回退就跳转。
What is Expected?
alert组件增加on-alert事件,跟on-hide区分开
What is actually happening?
alert只提供了on-hide事件
The text was updated successfully, but these errors were encountered: