@@ -722,11 +722,13 @@ export default {
console.log(Bol)
if(Bol) {
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;