Skip to content

Commit b148b8e

Browse files
wyc001122王泳超
and
王泳超
authored
fix: fix geader menu activation path (#5997)
Co-authored-by: 王泳超 <[email protected]>
1 parent 79de6bc commit b148b8e

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

+1-1
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)