mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-06-30 02:35:08 +08:00
refactor: 优化
This commit is contained in:
parent
3fa247d7fe
commit
6fe89219ac
@ -10,6 +10,9 @@ const getMetaByName = (config, name) => {
|
||||
}
|
||||
if (item.children && item.children.length > 0) {
|
||||
res = getMetaByName(item.children, name);
|
||||
if (res.path) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user