From cbcd26b325a2300db3203c619e73394e092ab19b Mon Sep 17 00:00:00 2001 From: zhangzq Date: Sun, 4 Jan 2026 17:10:04 +0800 Subject: [PATCH] =?UTF-8?q?add:=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lms/nladmin-ui/src/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lms/nladmin-ui/src/main.js b/lms/nladmin-ui/src/main.js index a1f808d..a274396 100644 --- a/lms/nladmin-ui/src/main.js +++ b/lms/nladmin-ui/src/main.js @@ -19,6 +19,7 @@ import './assets/styles/element-variables.scss' // global css import './assets/styles/index.scss' // add-xy start +import i18n from './i18n' import { fetchMessages } from '@/api/i18n' // 有一个API模块来获取语言文件 // 当前语言,可以从本地存储、用户设置或URL参数中获取 const currentLocale = localStorage.getItem('lang') @@ -82,6 +83,7 @@ Vue.config.productionTip = false new Vue({ el: '#app', router, + i18n, store, render: h => h(App) })