feat: 全部已读或标记已读实时更新顶部未读数目

This commit is contained in:
fit2cloud-chenyw 2021-09-22 11:03:25 +08:00
parent cf9f7e25d5
commit a559cab9fb

View File

@ -169,6 +169,7 @@ export default {
allMarkReaded() {
allRead().then(res => {
this.$success(this.$t('webmsg.mark_success'))
bus.$emit('refresh-top-notification')
this.search()
})
},
@ -180,6 +181,7 @@ export default {
const param = this.multipleSelection.map(item => item.msgId)
batchRead(param).then(res => {
this.$success(this.$t('webmsg.mark_success'))
bus.$emit('refresh-top-notification')
this.search()
})
},