初始化代码

This commit is contained in:
2025-12-22 14:34:25 +08:00
parent c2c5ae2fdd
commit a77dbc743f
1510 changed files with 213008 additions and 0 deletions

15
web/src/i18n/index.js Normal file
View File

@@ -0,0 +1,15 @@
import Vue from 'vue'
import VueI18n from 'vue-i18n'
Vue.use(VueI18n)
// 注册i18n实例并引入语言文件文件格式等下解析
const i18n = new VueI18n({
locale: 'zh',
messages: {
'zh': require('./langs/zh.json'),
'en': require('./langs/en.json')
}
})
export default i18n