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; }