CanadaMes-ui/src/main.js
@@ -9,6 +9,7 @@ import zhCN from './lang/locales/zh-CN.json' // 中文语言包 import enUS from './lang/locales/en-US.json' // 英文语言包 // import store from './store' Vue.use(VueI18n) const i18n = new VueI18n({ @@ -19,6 +20,8 @@ } }) const EventBus = new Vue(); Vue.prototype.$bus = EventBus; Vue.use(ElementUI); Vue.config.productionTip = false; @@ -27,9 +30,10 @@ Vue.prototype.$message = Message; // confirm Vue.prototype.$confirm = MessageBox.confirm; Vue.prototype.$tagList = []; new Vue({ router, i18n, render: h => h(App) }).$mount('#app');