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

点击 OK 后,如何不让 Modal 自动关闭 #107

Open
GurifYuanin opened this issue Jun 20, 2018 · 1 comment
Open

点击 OK 后,如何不让 Modal 自动关闭 #107

GurifYuanin opened this issue Jun 20, 2018 · 1 comment

Comments

@GurifYuanin
Copy link

Q1:当点击 OK 按钮后,Modal 自动关闭,但有时候在 Modal 上有一些信息需要用户修改,取消自动关闭。
现在想到的方法是,在 on-ok 的回调函数抛出异常让后面的代码不执行,或 :show-ok="true" 取消默认 OK 按钮然后自己写一个 OK 按钮,但希望有个解决方法能更方便些。

Q2:出现 Modal 的遮罩后,使用 this.$notify 弹出信息会被遮罩盖住,如何设置弹出信息不被遮罩遮住?

@modifMX
Copy link

modifMX commented Oct 18, 2019

通过 is-show控制

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

2 participants