This commit is contained in:
lai committed 2023-11-08 18:16:03 +08:00
commit d27577b799
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ import enUS from './locales/en-US';
const i18n = createI18n({
legacy: false, // 使用 Composition API 的方式创建 i18n 实例
locale: localGet(CACHE_LOCAL_I18N) || 'en-US', // 默认显示语言
locale: localGet(CACHE_LOCAL_I18N) || 'en_US', // 默认显示语言
messages: {
zh_CN: zhCN,
en_US: enUS,