From b35366b371ff7f04df226afa953e250727b9e4a6 Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Sun, 18 Aug 2024 10:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E8=AF=BB=E6=95=B0=E9=87=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-web/src/view/Home.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/im-web/src/view/Home.vue b/im-web/src/view/Home.vue index 31a0173..4288b35 100644 --- a/im-web/src/view/Home.vue +++ b/im-web/src/view/Home.vue @@ -336,7 +336,9 @@ let unreadCount = 0; let chats = this.$store.state.chatStore.chats; chats.forEach((chat) => { - unreadCount += chat.unreadCount + if(!chat.delete){ + unreadCount += chat.unreadCount + } }); return unreadCount; }