From 388f69dd0e276ae074a83f430cc8118009125f62 Mon Sep 17 00:00:00 2001 From: hLinx <327159425@qq.com> Date: Thu, 1 Aug 2024 14:47:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AF=AD=E8=A8=80=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E4=B8=8D=E7=AC=A6=E5=90=88=E8=A7=84=E8=8C=83=20#3156=20#=20Rev?= =?UTF-8?q?iewed,=20transaction=20id:=2013732?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/App.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/frontend/src/App.vue b/src/frontend/src/App.vue index 0e5f09122e..737d886c10 100644 --- a/src/frontend/src/App.vue +++ b/src/frontend/src/App.vue @@ -47,21 +47,21 @@
+ :class="{ active: currentLangType === 'lang-zh' }" + @click="handleToggleLang('zh-CN')"> - English + type="lang-zh" /> + 中文
+ :class="{ active: currentLangType === 'lang-en' }" + @click="handleToggleLang('en')"> - 中文 + type="lang-en" /> + English
@@ -248,7 +248,7 @@ handleToggleLang(lang) { Cookie.remove('blueking_language', { path: '' }); Cookie.set('blueking_language', lang.toLocaleLowerCase(), { - expires: 3600, + expires: 365, domain: this.envConfig.bkDomain, }); setLocale(lang);