Browse Source

fix: fix geader menu activation path (#5997)

Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
electron-v5
wyc001122 1 year ago
committed by Netfan
parent
commit
d14527a292
  1. 2
      packages/effects/layouts/src/basic/menu/use-mixed-menu.ts

2
packages/effects/layouts/src/basic/menu/use-mixed-menu.ts

@ -74,7 +74,7 @@ function useMixedMenu() {
*/
const headerActive = computed(() => {
if (!needSplit.value) {
return route.path;
return route.meta?.activePath ?? route.path;
}
return rootMenuPath.value;
});

Loading…
Cancel
Save