mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-08-11 17:19:46 +08:00
fix: active menu error
This commit is contained in:
parent
ade869ea30
commit
e66e4fb17c
@ -32,8 +32,8 @@ const {
|
||||
menus: routeStore.menus,
|
||||
})
|
||||
|
||||
watch(() => route.path, (value: string) => {
|
||||
activeKey.value = value
|
||||
watch(() => route.path, () => {
|
||||
activeKey.value = routeStore.activeMenu
|
||||
}, { immediate: true })
|
||||
|
||||
// 移动端抽屉控制
|
||||
|
Loading…
x
Reference in New Issue
Block a user