-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Modal.alert弹出后,怎么在销毁事件时关闭弹窗 #995
Comments
我添加一个api |
@paranoidjk 我用的Modal.alert,这个ref加到哪里啊。 |
@liuxingling 见我上面的回复,暂时加不了,我会添加一个API #998 类似这样
|
@paranoidjk 能临时解决我的问题不? |
@liuxingling 本周五,也就是明天会发新版本。 实在等不及的话你可以参照这个 https://github.com/ant-design/ant-design-mobile/blob/master/components/modal/alert.web.tsx#L23 自己销毁dom |
Modal.alert弹出后,如果不点击‘确定’,或者‘关闭’,浏览器前进或后退,弹窗会一直存在,想在销毁的时候手动关闭弹窗。
The text was updated successfully, but these errors were encountered: