From aa13405c4007082b8233b19cc32f8ddb60a8bb7d Mon Sep 17 00:00:00 2001 From: Kirigaya <1193466151@qq.com> Date: Sat, 31 May 2025 01:13:39 +0800 Subject: [PATCH] fix bug of page transition --- .vitepress/theme/Layout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue index 1256cd5..f559ea3 100644 --- a/.vitepress/theme/Layout.vue +++ b/.vitepress/theme/Layout.vue @@ -55,7 +55,7 @@ const handleRouteChangeStart = async (to: string) => { const from = router.route.path; if (sameSource(from, to)) { - await animateIn('VPContent', { name: 'slide', durationMs: 200 }); + await animateIn('VPContent', { name: 'fade', durationMs: 200 }); } else { await animateIn('k-layout', { name: 'fade' }); }