From 3809aa70fcd58380a12cda06b9ef71c344eeb91e Mon Sep 17 00:00:00 2001 From: luckyasme <807254037@qq.com> Date: Tue, 21 Oct 2025 10:05:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E9=94=9A=E7=82=B9=E8=B7=B3=E8=BD=AC=E5=90=8E?= =?UTF-8?q?=E4=BC=9A=E8=87=AA=E5=8A=A8=E8=B7=B3=E5=9B=9E=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E8=8F=9C=E5=8D=95=E9=A1=B9=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/.vitepress/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/.vitepress/src/App.vue b/app/.vitepress/src/App.vue index 4f4a71b..985c142 100644 --- a/app/.vitepress/src/App.vue +++ b/app/.vitepress/src/App.vue @@ -18,7 +18,7 @@ const { isZh } = useLocale(); const viewStore = useViewStore(); const router = useRouter(); -router.onAfterRouteChanged = () => { +router.onBeforePageLoad = () => { scrollToTop(0, false); }; -- Gitee