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

@@ -30,7 +30,7 @@ async function handleSelect(key: string) {
<Menu
:accordion="accordion"
:collapse="collapse"
:default-active="route.path"
:default-active="route.meta?.activePath || route.path"
:menus="menus"
:rounded="rounded"
:theme="theme"