Commit b148b8ec by wyc001122 Committed by GitHub

fix: fix geader menu activation path (#5997)

Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
1 parent 79de6bcb
......@@ -74,7 +74,7 @@ function useMixedMenu() {
*/
const headerActive = computed(() => {
if (!needSplit.value) {
return route.path;
return route.meta?.activePath ?? route.path;
}
return rootMenuPath.value;
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!