From 5b72eda4fc6a8fd29807265d633a33e724ff0736 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 17 Jun 2026 18:17:38 +0800 Subject: [PATCH] fix: keep notification read action available --- src/layouts/components/UserNotification.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/layouts/components/UserNotification.vue b/src/layouts/components/UserNotification.vue index 84d567d9..9f2cf521 100644 --- a/src/layouts/components/UserNotification.vue +++ b/src/layouts/components/UserNotification.vue @@ -185,6 +185,7 @@ function handleMessage(event: MessageEvent) { } } +/** 将通知列表标记为已读,并同步清理应用角标和未读红点。 */ function markAllAsRead() { hasNewMessage.value = false notificationList.value.forEach(item => { @@ -262,7 +263,7 @@ useDelayedSSE(