mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
fix: 退出登录仍出现未读数的情况
This commit is contained in:
parent
9a0a04ed76
commit
1939d42d09
@ -510,7 +510,11 @@ export default {
|
||||
},
|
||||
|
||||
unreadTotal() {
|
||||
return this.msgAllUnread + this.dashboardTask.overdue.length + this.reportUnreadNumber;
|
||||
if (this.userId > 0) {
|
||||
return this.msgAllUnread + this.dashboardTask.overdue.length + this.reportUnreadNumber
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
},
|
||||
|
||||
currentLanguage() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user