src/main.js
@@ -3,6 +3,7 @@ import router from './router' import store from './store' import config from './assets/js/config' import G from './global' import './api' import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' @@ -57,6 +58,7 @@ }; // 挂载配置 Vue.prototype.$config = config; Vue.prototype.$G = G; new Vue({ router,