fix: 处理 i18n 报错和 props 报错

This commit is contained in:
奔跑的面条
2023-01-08 19:10:41 +08:00
parent 4e091c7f49
commit 7b262c9db2
9 changed files with 43 additions and 26 deletions
+2
View File
@@ -23,6 +23,8 @@ export const langList = [
]
const i18n = createI18n({
legacy: false,
globalInjection:true,
locale: langStorage?.lang || lang,
fallbackLocale: langStorage?.lang || lang,
messages: {