Merge pull request #843 from dataease/pr@dev@feat_noyification_msg

feat: 全部已读或标记已读实时更新顶部未读数目
This commit is contained in:
fit2cloud-chenyw
2021-09-22 11:04:35 +08:00
committed by GitHub

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()
})
},