app/plugins/index.js
@@ -1,6 +1,7 @@ import tab from './tab' import auth from './auth' import modal from './modal' import dict from './dict' export default { install(Vue) { @@ -10,5 +11,7 @@ Vue.prototype.$auth = auth // 模态框对象 Vue.prototype.$modal = modal // 字典对象 Vue.prototype.$dict = dict } }