hotgo2.1.3版本发布

This commit is contained in:
孟帅
2023-02-09 13:53:19 +08:00
parent 255b411eb7
commit 1efbf698e2
30 changed files with 340 additions and 850 deletions

View File

@@ -91,7 +91,11 @@ export const notificationStore = defineStore({
});
},
getUnreadCount() {
return this.notifyUnread + this.noticeUnread + this.letterUnread;
const count = this.notifyUnread + this.noticeUnread + this.letterUnread;
if (count > 0) {
return count;
}
return 0;
},
},
});