From 98b863704a205c8cdda63a79c1b8883b91227e3c Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Tue, 16 Dec 2025 10:51:01 +0800 Subject: [PATCH] chore: update --- src/layout/components/lay-notice/index.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/layout/components/lay-notice/index.vue b/src/layout/components/lay-notice/index.vue index 477f4cd1f..b1f4d5ffc 100644 --- a/src/layout/components/lay-notice/index.vue +++ b/src/layout/components/lay-notice/index.vue @@ -6,12 +6,9 @@ import NoticeList from "./components/NoticeList.vue"; import BellIcon from "~icons/lucide/bell"; const { t } = useI18n(); -const noticesNum = ref(0); const notices = ref(noticesData); const activeKey = ref(noticesData[0]?.key); -notices.value.map(v => (noticesNum.value += v.list.length)); - const getLabel = computed( () => item => t(item.name) + (item.list.length > 0 ? `(${item.list.length})` : "") @@ -21,12 +18,7 @@ const getLabel = computed(