BUG 30372
This commit is contained in:
@@ -108,7 +108,11 @@ export default {
|
||||
params: {departmentId, status: 1, cid}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
res.data = res.data.map(e => ({...e, kind: "user", checked: false}))
|
||||
res.data = res.data.map(e => ({
|
||||
...e, kind: "user", checked: this.selected.some(s => {
|
||||
if (e.id == s.id) return true
|
||||
})
|
||||
}))
|
||||
this.options = [this.options, res.data].flat()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user