mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix(plugin-layout): 默认路由如果不是菜单,则不需要添加到expandedKeys中,否则会导则defaultExpandAll不生效
This commit is contained in:
parent
2be3cffcb6
commit
d5b014ecc5
@ -105,7 +105,7 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const activeMenu = menuArray.value[index];
|
const activeMenu = menuArray.value[index];
|
||||||
const arr = [activeMenu];
|
const arr = activeMenu.children?.length ? [activeMenu] : [];
|
||||||
while (index > 0) {
|
while (index > 0) {
|
||||||
index = index - 1;
|
index = index - 1;
|
||||||
const lastMenu = menuArray.value[index];
|
const lastMenu = menuArray.value[index];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user