mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: 修复plugin-layout用路由数据补充menu出错
This commit is contained in:
parent
9c1b7e70ff
commit
aa768acc3e
@ -12,9 +12,6 @@ const matchName = (config, name) => {
|
|||||||
}
|
}
|
||||||
if (item.children && item.children.length > 0) {
|
if (item.children && item.children.length > 0) {
|
||||||
res = matchName(item.children, name);
|
res = matchName(item.children, name);
|
||||||
if (res) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user