From ae9723bc5463cedba395162ec07eaaa656e197bc Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 13 May 2025 09:16:49 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E9=A6=96=E9=A1=B5=E4=B8=8D=20keep-?= =?UTF-8?q?alive=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/Index.vue | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 4908118b..7d4c6737 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -83,13 +83,18 @@ :sm="24" :xs="24" > -
- + {{ item.name }}
{{ t(item.message) }}
@@ -181,17 +186,17 @@ import { EChartsOption } from 'echarts' import { formatTime } from '@/utils' import { useUserStore } from '@/store/modules/user' -import { useWatermark } from '@/hooks/web/useWatermark' +// import { useWatermark } from '@/hooks/web/useWatermark' import type { WorkplaceTotal, Project, Notice, Shortcut } from './types' import { pieOptions, barOptions } from './echarts-data' import { useRouter } from 'vue-router' -defineOptions({ name: 'Home' }) +defineOptions({ name: 'Index' }) const { t } = useI18n() const router = useRouter() const userStore = useUserStore() -const { setWatermark } = useWatermark() +// const { setWatermark } = useWatermark() const loading = ref(true) const avatar = userStore.getUser.avatar const username = userStore.getUser.nickname