From b593cca1f3d3515fc231007caa54121193156ad8 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 03 四月 2026 09:09:23 +0800
Subject: [PATCH] 定时刷新打开

---
 src/layout/components/Navbar.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 25d9432..c7ddde9 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -144,11 +144,11 @@
       }
     });
     // 瀹氭椂鍒锋柊鏈鏁伴噺锛堟瘡30绉掞級
-    // unreadCountTimer = setInterval(() => {
-    //   if (notificationCenterRef.value) {
-    //     notificationCenterRef.value.loadUnreadCount()
-    //   }
-    // }, 30000)
+    unreadCountTimer = setInterval(() => {
+      if (notificationCenterRef.value) {
+        notificationCenterRef.value.loadUnreadCount();
+      }
+    }, 30000);
   });
 
   // 鐩戝惉 popover 鏄剧ず鐘舵�侊紝鎵撳紑鏃跺姞杞芥秷鎭垪琛�

--
Gitblit v1.9.3