修复企微地区选择组件

This commit is contained in:
aixianling
2022-06-17 13:40:09 +08:00
parent 45d4661d96
commit 537e80a165

View File

@@ -86,7 +86,7 @@ export default {
}).then(res => {
if (res?.data) {
this.selectList.push(row)
this.options = res.data.map(id => ({id, name: id, isChecked: !!this.selected[id]}))
this.options = res.data.map(e => ({...e, isChecked: !!this.selected[e.id]}))
}
}).finally(() => row.locked = false)
}