BUG 30141
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user