|
@@ -722,11 +722,13 @@ export default {
|
|
console.log(Bol)
|
|
console.log(Bol)
|
|
if(Bol) {
|
|
if(Bol) {
|
|
res.Data.List.length&&res.Data.List.forEach(item => {
|
|
res.Data.List.length&&res.Data.List.forEach(item => {
|
|
- let obj = {
|
|
|
|
- checkAll:item.CheckList.length===item.Child.length?true:false,
|
|
|
|
- ...item,
|
|
|
|
|
|
+ if(item.Child){
|
|
|
|
+ let obj = {
|
|
|
|
+ checkAll:item.CheckList.length===item.Child.length?true:false,
|
|
|
|
+ ...item,
|
|
|
|
+ }
|
|
|
|
+ list.push(obj)
|
|
}
|
|
}
|
|
- list.push(obj)
|
|
|
|
})
|
|
})
|
|
}
|
|
}
|
|
this.authList = list;
|
|
this.authList = list;
|