updata:智控台页面添加语言切换,支持中英繁。

This commit is contained in:
rainv123
2025-09-11 17:10:50 +08:00
parent a9b0775469
commit 98a1483032
41 changed files with 3800 additions and 1061 deletions
+5
View File
@@ -5,9 +5,13 @@ import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import i18n from './i18n';
import './styles/global.scss';
import { register as registerServiceWorker } from './registerServiceWorker';
// 创建事件总线,用于组件间通信
Vue.prototype.$eventBus = new Vue();
Vue.use(ElementUI);
Vue.config.productionTip = false
@@ -19,5 +23,6 @@ registerServiceWorker();
new Vue({
router,
store,
i18n,
render: function (h) { return h(App) }
}).$mount('#app')