fix: fix geader menu activation path (#5997)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
This commit is contained in:
parent
79de6bcbf7
commit
b148b8ec92
@ -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…
Reference in New Issue
Block a user