Merge commit '48dd8ebf00
' into 295
This commit is contained in:
commit
b3aa5e3890
2 changed files with 3 additions and 8 deletions
|
@ -132,7 +132,8 @@
|
|||
},
|
||||
handleWrapClick (event) {
|
||||
// use indexOf,do not use === ,because ivu-modal-wrap can have other custom className
|
||||
if (event.target.getAttribute('class').indexOf(`${prefixCls}-wrap`) > -1) this.mask();
|
||||
const className = event.target.getAttribute('class');
|
||||
if (className && className.indexOf(`${prefixCls}-wrap`) > -1) this.mask();
|
||||
},
|
||||
cancel () {
|
||||
this.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue