国际化
This commit is contained in:
@@ -44,7 +44,7 @@ const localeLanMap = {
|
||||
const i18n = createI18n({
|
||||
allowComposition: true,
|
||||
legacy: false,
|
||||
locale: defLanguage, // 设置默认语言
|
||||
locale: localeLanMap[defLanguage], // 设置默认语言
|
||||
fallbackLocale: localeLanMap[defLanguage], // 设置备用语言
|
||||
messages: messages // 设置资源文件对象
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user