BUG 30340

This commit is contained in:
aixianling
2022-06-27 10:45:29 +08:00
parent aa846b62a7
commit 6e5a1c3921
2 changed files with 3 additions and 38 deletions

View File

@@ -108,7 +108,7 @@ export default {
params: {departmentId, status: 1, cid}
}).then(res => {
if (res?.data) {
res.data = res.data.map(e => ({...e, kind: "user"}))
res.data = res.data.map(e => ({...e, kind: "user", checked: false}))
this.options = [this.options, res.data].flat()
}
})
@@ -160,7 +160,6 @@ export default {
return !!this.selected.find(e => e.uid == uid)
},
handleCheck(row, i) {
row.checked = !row.checked
if (row.checked) {
this.selected.push(row)
} else {