fix: header-mixed layout side-menu active (#5265)

* fix: header-mixed layout side-menu active

* fix: config test
This commit is contained in:
Netfan
2024-12-30 15:24:01 +08:00
committed by GitHub
parent ff8d5ca351
commit 2eb7fed9f4
5 changed files with 36 additions and 51 deletions

View File

@@ -69,10 +69,6 @@ function useMixedMenu() {
return (route?.meta?.activePath as string) ?? route.path;
});
const mixedSidebarActive = computed(() => {
return mixedRootMenuPath.value || sidebarActive.value;
});
/**
* 头部菜单激活路径
*/
@@ -160,7 +156,6 @@ function useMixedMenu() {
headerMenus,
sidebarActive,
sidebarMenus,
mixedSidebarActive,
mixHeaderMenus,
mixExtraMenus,
sidebarVisible,