Browse Source
fix: fix geader menu activation path (#5997)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
pull/6003/head
wyc001122
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
}); |
|
|
|
|