diff --git a/src/client/theme-default/composables/navLink.ts b/src/client/theme-default/composables/navLink.ts index 0afa0f20..bc7a4d44 100644 --- a/src/client/theme-default/composables/navLink.ts +++ b/src/client/theme-default/composables/navLink.ts @@ -15,7 +15,7 @@ export function useNavLink(item: Ref) { if (item.value.activeMatch) { active = new RegExp(item.value.activeMatch).test(routePath) } else { - const itemPath = normalizePath(withBase(item.value.link)) + const itemPath = normalizePath(item.value.link) active = itemPath === '/' ? itemPath === routePath