多个缓存路由复用同一个组件时,菜单展开不正常
parent
dfdb2ec106
commit
33ca8ea119
|
@ -127,7 +127,7 @@ export function configureDynamicParamsMenu(menu: Menu, params: RouteParams) {
|
|||
if (!paramPath && matchArr && matchArr.length > 0) {
|
||||
menu.paramPath = path;
|
||||
}
|
||||
menu.path = realPath;
|
||||
// menu.path = realPath;
|
||||
// children
|
||||
menu.children?.forEach((item) => configureDynamicParamsMenu(item, params));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue