fix: 降低 vue-i18n 的版本,有问题

This commit is contained in:
奔跑的面条
2022-04-07 14:41:54 +08:00
parent be0c0566df
commit 64cad02b62
3 changed files with 52 additions and 36 deletions
-2
View File
@@ -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