mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 11:24:17 +00:00
fix: 修复消息订阅接受人数不准确问题
This commit is contained in:
@@ -101,6 +101,14 @@ export default {
|
||||
).then(newSub => {
|
||||
const msgType = this.idMessageTypeMapper[newSub.message_type]
|
||||
msgType.receivers = newSub.receivers
|
||||
this.tableData.forEach(i => {
|
||||
for (const item of i.children) {
|
||||
if (item.id === newSub.message_type) {
|
||||
item.receivers = newSub.receivers
|
||||
break
|
||||
}
|
||||
}
|
||||
})
|
||||
}).catch(() => {
|
||||
// debug(err)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user