Modal support global setting

This commit is contained in:
梁灏 2018-06-28 14:58:38 +08:00
parent 737894dee2
commit e44ba4d4ad
4 changed files with 21 additions and 28 deletions

View file

@ -166,7 +166,7 @@ const install = function(Vue, opts = {}) {
Vue.prototype.$IVIEW = {
size: opts.size || '',
transfer: opts.transfer || ''
transfer: 'transfer' in opts ? opts.transfer : ''
};
Vue.prototype.$Loading = LoadingBar;