From 31aa5c33b5d20f026714e4f9e4499064006f4f7e Mon Sep 17 00:00:00 2001 From: Silent YANG Date: Sun, 12 May 2024 11:39:33 +0800 Subject: [PATCH] update --- src/App.vue | 3 +- src/components/navbar/index.vue | 33 +++++++++++++++++-- src/locale/en-US.ts | 10 ++++-- src/locale/zh-CN.ts | 6 ++++ src/router/routes/externalModules/faq.ts | 4 +-- src/router/routes/modules/dashboard.ts | 4 +-- .../dashboard/workplace/components/banner.vue | 14 ++++---- src/views/dashboard/workplace/locale/en-US.ts | 11 +++++-- src/views/dashboard/workplace/locale/zh-CN.ts | 9 ++++- 9 files changed, 76 insertions(+), 18 deletions(-) diff --git a/src/App.vue b/src/App.vue index bcabb68..51b39bb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,6 +23,7 @@ import { ChatIcon, QrcodeIcon, FishIcon } from 'tdesign-icons-vue-next'; import { computed, h } from 'vue'; import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn'; + import enUS from '@arco-design/web-vue/es/locale/lang/en-us'; import GlobalSetting from '@/components/global-setting/index.vue'; import useLocale from '@/hooks/locale'; import Aegis from 'aegis-web-sdk'; @@ -66,7 +67,7 @@ case 'zh-CN': return zhCN; default: - return zhCN; + return enUS; } }); diff --git a/src/components/navbar/index.vue b/src/components/navbar/index.vue index ce014ee..87cbb0e 100644 --- a/src/components/navbar/index.vue +++ b/src/components/navbar/index.vue @@ -20,10 +20,39 @@