Skip to content

Commit c1f85b3

Browse files
author
王泳超
committed
fix: fix geader menu activation path
1 parent 79de6bc commit c1f85b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function useMixedMenu() {
7474
*/
7575
const headerActive = computed(() => {
7676
if (!needSplit.value) {
77-
return route.path;
77+
return route.meta?.activePath ?? route.path;
7878
}
7979
return rootMenuPath.value;
8080
});

0 commit comments

Comments
 (0)