mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 降低 vue-i18n 的版本,有问题
This commit is contained in:
@@ -10,7 +10,6 @@ import en from './en/index'
|
||||
|
||||
const langStorage: LangStateType = getLocalStorage(StorageEnum.GO_LANG_STORE)
|
||||
|
||||
|
||||
// 语言数组
|
||||
export const langList = [
|
||||
{
|
||||
@@ -26,7 +25,6 @@ export const langList = [
|
||||
const i18n = createI18n({
|
||||
locale: langStorage?.lang || lang,
|
||||
globalInjection: true,
|
||||
legacy:false,
|
||||
messages: {
|
||||
[LangEnum.zh]: zh,
|
||||
[LangEnum.en]: en
|
||||
|
||||
Reference in New Issue
Block a user