This commit is contained in:
liuye
2022-01-19 17:08:09 +08:00
parent 94d467d0da
commit 5eb21f8e42

View File

@@ -81,10 +81,12 @@ export default {
treeInit() {
if(this.allData[0].isLastLevel == 1) {
this.userList = this.allData[0].girdMemberList
this.userList.map((item) => {
item.isChecked = false
})
if(this.allData[0].girdMemberList && this.allData[0].girdMemberList.length) {
this.userList = this.allData[0].girdMemberList
this.userList.map((item) => {
item.isChecked = false
})
}
}else {
this.treeList = this.allData[0].girdList
}