多个缓存路由复用同一个组件时,菜单展开不正常

pull/581/head
zhenAri 2023-06-10 14:40:00 +08:00
parent dfdb2ec106
commit 33ca8ea119
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}