国际化

This commit is contained in:
John
2024-03-10 12:07:07 +08:00
parent 807e528e47
commit 42c7d3bec8

View File

@@ -39,7 +39,7 @@ const i18n = createI18n({
allowComposition: true,
legacy: false,
locale: defLanguage, // 设置默认语言
fallbackLocale: 'zh', // 设置备用语言
fallbackLocale: 'zh-CN', // 设置备用语言
messages: messages // 设置资源文件对象
})