mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
fix(theme): isActive function match fail
This commit is contained in:
parent
0d0db5f14f
commit
520a70fc3f
@ -119,6 +119,7 @@ export function useSidebarControl(item: ComputedRef<NotesSidebarItem>) {
|
||||
})
|
||||
|
||||
const isActiveLink = computed(() => {
|
||||
console.log('pl:', page.value.path, ' il:', item.value.link)
|
||||
return isActive(page.value.path, item.value.link)
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user