mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 12:13:51 +08:00
hotgo2.1.3版本发布
This commit is contained in:
@@ -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;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user