fix: activePath not working in menu, fixed: #4112 (#4113)

This commit is contained in:
Netfan
2024-08-10 18:54:57 +08:00
committed by GitHub
parent ec49a04151
commit cdeadafda5
3 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ function useExtraMenu() {
watch(
() => route.path,
(path) => {
const currentPath = path;
const currentPath = route.meta?.activePath || path;
// if (preferences.sidebar.expandOnHover) {
// return;
// }