diff --git a/components/prose/ProseA.vue b/components/prose/ProseA.vue index a4e3cf0..0c005c2 100644 --- a/components/prose/ProseA.vue +++ b/components/prose/ProseA.vue @@ -2,8 +2,8 @@ @@ -26,7 +26,7 @@ const { href } = defineProps<{ const { hash, pathname } = parseURL(href); const { content } = useContent(); -const overview = computed(() => content.value.find(e => e.path === pathname)); +const overview = computed(() => content.value.find(e => e.path === decodeURIComponent(pathname)));