diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 3e76e545..f7acccc8 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -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,