From 9d06bf8c5100a2f86f3d834d2396da68ea250c8f Mon Sep 17 00:00:00 2001 From: taojinlong Date: Thu, 14 Nov 2024 17:05:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E3=80=90=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E3=80=91=E6=95=B0=E6=8D=AE=E5=AF=BC=E5=87=BA=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/layout/components/Header.vue | 5 +- core/core-frontend/src/locales/tw.ts | 97 +++++++++++++++++++ 2 files changed, 100 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/layout/components/Header.vue b/core/core-frontend/src/layout/components/Header.vue index 0f7ccca929..dc47197136 100644 --- a/core/core-frontend/src/layout/components/Header.vue +++ b/core/core-frontend/src/layout/components/Header.vue @@ -28,6 +28,7 @@ const appearanceStore = useAppearanceStoreWithOut() const { push } = useRouter() const route = useRoute() import { useCache } from '@/hooks/web/useCache' +import { useI18n } from '@/hooks/web/useI18n' const { wsCache } = useCache('localStorage') const aiBaseUrl = ref('https://maxkb.fit2cloud.com/ui/chat/2ddd8b594ce09dbb?mode=embed') const handleIconClick = () => { @@ -38,7 +39,7 @@ const handleIconClick = () => { const handleAiClick = () => { useEmitt().emitter.emit('aiComponentChange') } - +const { t } = useI18n() const handleCopilotClick = () => { push('/copilot/index') } @@ -158,7 +159,7 @@ onMounted(() => { > - +