From 0f3c5fd311f58e0ecd7b3a3f67d37451fe0493f6 Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Wed, 26 Jul 2023 18:26:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=20tab=20=E7=9A=84=20?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/pageTopBar/pageTopBar.vue | 9 ++++++--- src/components/user/systematic-notification-pop.vue | 4 ++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/pageTopBar/pageTopBar.vue b/src/components/pageTopBar/pageTopBar.vue index e9a08de..f06bc27 100644 --- a/src/components/pageTopBar/pageTopBar.vue +++ b/src/components/pageTopBar/pageTopBar.vue @@ -39,15 +39,18 @@ -
+
- + +
{{ item.name }}
+
{{ item.name }}
@@ -123,7 +126,7 @@ let changeTabBtnType = (item) => { }) } -let openInfo=(data)=>{ +let openInfo = (data) => { window.open(data.url) } diff --git a/src/components/user/systematic-notification-pop.vue b/src/components/user/systematic-notification-pop.vue index 8c76f93..b34c42d 100644 --- a/src/components/user/systematic-notification-pop.vue +++ b/src/components/user/systematic-notification-pop.vue @@ -109,6 +109,10 @@ import emptyDuck from '@/components/public/empty-duck.vue' import { onMounted, getCurrentInstance, ref, onUnmounted, defineEmits } from 'vue' import { useRouter } from 'vue-router'; +import store from '../../store/index'; + +if (store.state.user) store.state.user['messagenum'] = 0 + const emit = defineEmits(['close']) const router = useRouter();