【更新】修复一个角色授权资源界面无法展示数据错误

pull/48/MERGE
小诺 2022-10-18 02:05:13 +08:00 committed by 俞宝山
parent 6cc720cfe2
commit 32f3f23916
1 changed files with 39 additions and 37 deletions

View File

@ -142,6 +142,7 @@
const echoModuleData = (data, resEcho) => { const echoModuleData = (data, resEcho) => {
// //
data.forEach((module) => { data.forEach((module) => {
if (module.menu) {
// //
module.menu.forEach((item) => { module.menu.forEach((item) => {
const menueCheck = ref(0) const menueCheck = ref(0)
@ -182,6 +183,7 @@
firstShowMap[item.parentName] = [index] firstShowMap[item.parentName] = [index]
} }
}) })
}
}) })
return data return data
} }