From 0915fe6821dc77a0f060d1005692a1482afe48f7 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 8 Nov 2023 17:56:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BB=8E=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E9=A6=96=E9=80=89=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,