|
@@ -234,10 +234,12 @@ export default {
|
|
|
async getMessageInfo () {
|
|
|
await this.getMessages()
|
|
|
this.navs.find(v => v.label === '消息中心').badge = this.messageCount > 99 ? '99+' : this.messageCount
|
|
|
+ this.navs.find(v => v.label === '待办').badge = this.todoCount > 99 ? '99+' : this.todoCount
|
|
|
/**
|
|
|
* 对外提供未读消息条数更新事件
|
|
|
*/
|
|
|
this.$BRACE.$emit('update-message-count', this.messageCount)
|
|
|
+ this.$BRACE.$emit('update-todo-count', this.todoCount)
|
|
|
},
|
|
|
/**
|
|
|
* 点击退出登录
|