fix(theme): isActive function match fail

This commit is contained in:
pengzhanbo 2023-02-14 04:55:52 +08:00
parent 0d0db5f14f
commit 520a70fc3f

View File

@ -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)
})