fix bug of page transition

This commit is contained in:
锦恢 2025-05-31 01:13:39 +08:00
parent 416acfe007
commit aa13405c40

View File

@ -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' });
}