add global setting $IVIEW
This commit is contained in:
parent
e94e76435e
commit
517917a2ad
4 changed files with 48 additions and 957 deletions
|
@ -164,6 +164,11 @@ const install = function(Vue, opts = {}) {
|
|||
Vue.component(key, iview[key]);
|
||||
});
|
||||
|
||||
Vue.prototype.$IVIEW = {
|
||||
size: opts.size || '',
|
||||
transfer: opts.transfer || ''
|
||||
};
|
||||
|
||||
Vue.prototype.$Loading = LoadingBar;
|
||||
Vue.prototype.$Message = Message;
|
||||
Vue.prototype.$Modal = Modal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue