Merge commit '48dd8ebf00ad9ee05e3c37540aca7aa1407bd6bc' into 295
This commit is contained in:
commit
b3aa5e3890
2 changed files with 3 additions and 8 deletions
|
@ -76,14 +76,8 @@ Normal browsers and Internet Explorer 9+.
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
|
- [TalkingData](https://github.com/TalkingData)
|
||||||
- [Vue](https://github.com/vuejs/vue)
|
- [Vue](https://github.com/vuejs/vue)
|
||||||
- [Webpack](https://github.com/webpack/webpack)
|
- [Webpack](https://github.com/webpack/webpack)
|
||||||
- [ionicons](https://github.com/driftyco/ionicons)
|
- [ionicons](https://github.com/driftyco/ionicons)
|
||||||
- [Ant Design](https://github.com/ant-design/ant-design)
|
- [Ant Design](https://github.com/ant-design/ant-design)
|
||||||
|
|
||||||
## Donation
|
|
||||||
iView is an MIT licensed open source project and completely free to use, but if it is helpful to you, you can buy me a coffee :)
|
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
<img src="https://raw.githubusercontent.com/iview/iview/master/assets/pay.png">
|
|
||||||
</p>
|
|
||||||
|
|
|
@ -132,7 +132,8 @@
|
||||||
},
|
},
|
||||||
handleWrapClick (event) {
|
handleWrapClick (event) {
|
||||||
// use indexOf,do not use === ,because ivu-modal-wrap can have other custom className
|
// 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 () {
|
cancel () {
|
||||||
this.close();
|
this.close();
|
||||||
|
|
Loading…
Add table
Reference in a new issue