From bb8a971c9006752cb90ff63213b864c47481af54 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sat, 9 Mar 2024 00:33:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(theme):=20=E9=A6=96=E9=A1=B5=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=9B=9E=E5=88=B0=E9=A1=B6=E9=83=A8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/src/client/components/BackToTop.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/src/client/components/BackToTop.vue b/theme/src/client/components/BackToTop.vue index 4a56e2c0..1dcdaf62 100644 --- a/theme/src/client/components/BackToTop.vue +++ b/theme/src/client/components/BackToTop.vue @@ -27,7 +27,7 @@ const stroke = computed(() => ) const mustHidden = computed(() => { - return page.value.frontmatter.backToTop === false || page.value.frontmatter.home + return page.value.frontmatter.backToTop === false || (page.value.frontmatter.home && page.value.frontmatter.config && (page.value.frontmatter.config as any).length <= 1) }) const show = computed(() => {