BUG 30141

This commit is contained in:
aixianling
2022-06-10 18:25:17 +08:00
parent 33baad65de
commit a38fc3b718

View File

@@ -99,7 +99,7 @@ export default {
}
})
} else {
this.treeList = this.allData.filter(e => !e.parentGirdId || this.isMyGirds || e.id == this.user.girdId)
this.treeList = this.allData.filter((e, i, arr) => !arr.map(e => e.id).includes(e.parentGirdId) || this.isMyGirds)
this.treeList.map((item) => item.isChecked = this.selected.includes(item.id))
let obj = {girdName: '可选范围', id: ''}
this.slectList.push(obj)