mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 12:42:51 +00:00
fix: 退出登录仍出现未读数的情况
This commit is contained in:
parent
9a0a04ed76
commit
1939d42d09
@ -510,7 +510,11 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
unreadTotal() {
|
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() {
|
currentLanguage() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user