From fd19536cbf9e5acec9bf7270f3f46037e822827d Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期二, 29 八月 2023 16:44:45 +0800
Subject: [PATCH] 添加菜单折叠自适应宽度 修改密码 修改用户角色 中英文切换全局配置
---
CanadaMes-ui/src/main.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/CanadaMes-ui/src/main.js b/CanadaMes-ui/src/main.js
index 8d19ac5..0bb44ef 100644
--- a/CanadaMes-ui/src/main.js
+++ b/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');
--
Gitblit v1.8.0