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