修改权限bug

This commit is contained in:
龙运模
2024-08-28 23:41:22 +08:00
parent e7a8185325
commit 3bb60109a3
7 changed files with 81 additions and 33 deletions
@@ -227,6 +227,13 @@ export default {
obj.data_permission.push({[em.meta.code]:list})
}
}
if(em.children && em.children.length>0){
em.children.forEach(daList=>{
if(em.checked || em.isCheck && daList.meta.hidden){
obj.menu_permission.push(daList.meta.code);
}
})
}
})
}
})