From 2f8c7d7ac4324d8c29949ab6caefa7f6156bc608 Mon Sep 17 00:00:00 2001 From: Rhen Cloud Date: Sat, 10 Jan 2026 13:24:27 +0800 Subject: [PATCH] update --- app/pages/about.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/pages/about.vue b/app/pages/about.vue index ea12698..3ad8c38 100644 --- a/app/pages/about.vue +++ b/app/pages/about.vue @@ -3,8 +3,9 @@ import { useRoute } from "vue-router"; import TechInfo from "~/components/main/TechInfo.vue"; import siteConfig from "~/config"; -const route = useRoute(); -const { data: content } = await useAsyncData(route.path, () => queryCollection("about").first()); +const { path } = useRoute(); + +const { data: content } = await useAsyncData(path, () => queryCollection("about").first()); useHead({ title: `About - ${siteConfig.siteMeta.title}`,