forked from github/dataease
Merge pull request #843 from dataease/pr@dev@feat_noyification_msg
feat: 全部已读或标记已读实时更新顶部未读数目
This commit is contained in:
commit
df28ba462b
@ -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()
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user