Commit 67d3aba1dc9cea5975b69c234647aaf26f5313e3
1 parent
383e96a8
Modal add global setting, #5592, close #5383
Showing
2 changed files
with
6 additions
and
1 deletions
Show diff stats
src/components/modal/modal.vue
src/index.js
... | ... | @@ -216,6 +216,9 @@ const install = function(Vue, opts = {}) { |
216 | 216 | closeIcon: opts.tabs ? opts.tabs.closeIcon ? opts.tabs.closeIcon : '' : '', |
217 | 217 | customCloseIcon: opts.tabs ? opts.tabs.customCloseIcon ? opts.tabs.customCloseIcon : '' : '', |
218 | 218 | closeIconSize: opts.tabs ? opts.tabs.closeIconSize ? opts.tabs.closeIconSize : '' : '' |
219 | + }, | |
220 | + modal: { | |
221 | + maskClosable: opts.modal ? 'maskClosable' in opts.modal ? opts.modal.maskClosable : '' : '' | |
219 | 222 | } |
220 | 223 | }; |
221 | 224 | ... | ... |