From ced12d5805a830aa60296358e4d8854564b95164 Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Tue, 23 Jun 2026 08:32:05 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E4=BC=98=E5=8C=96=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=90=8E=E7=9A=84=E5=89=AF=E4=BD=9C=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index d3e9443..c5a9506 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -272,14 +272,14 @@ watch( ); // 告警数据变化时自动弹出弹窗 // 当 isNotice 变为 true 时弹出弹窗,并重置为 false -let noticeFirstLoad = true; //解决初始化时弹出弹窗问题 +// let noticeFirstLoad = true; //解决初始化时弹出弹窗问题 watch( () => noticeStore.state.value.isNotice, (newVal) => { - if (noticeFirstLoad) { - noticeFirstLoad = false; - return; - } + // if (noticeFirstLoad) { + // noticeFirstLoad = false; + // return; + // } if (newVal) { noticeStore.state.value.isNotice = false; popoverVisible.value = true;