From 81adcb4bc4e3599b2e8767570eb5073824b29521 Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Wed, 22 Apr 2026 15:39:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=8D=E5=86=8D=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E8=AF=AD=E8=A8=80,=E4=B8=8D=E5=B8=A6/cn=E5=B0=B1=E7=94=A8?= =?UTF-8?q?=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/router-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/router-config.ts b/src/router/router-config.ts index af1ccc8..1690970 100644 --- a/src/router/router-config.ts +++ b/src/router/router-config.ts @@ -8,7 +8,7 @@ router.beforeEach((to, from, next) => { } if (path.startsWith('/cn') || (to.params.lang === 'cn')) { localStorage.setItem('loginLanguage', 'CHINESE_SIMPLIFIED') - } else if (path.startsWith('/en') || (to.params.lang === 'en')) { + } else { localStorage.setItem('loginLanguage', 'ENGLISH') }