fix bug of page transition
This commit is contained in:
parent
416acfe007
commit
aa13405c40
@ -55,7 +55,7 @@ const handleRouteChangeStart = async (to: string) => {
|
|||||||
const from = router.route.path;
|
const from = router.route.path;
|
||||||
|
|
||||||
if (sameSource(from, to)) {
|
if (sameSource(from, to)) {
|
||||||
await animateIn('VPContent', { name: 'slide', durationMs: 200 });
|
await animateIn('VPContent', { name: 'fade', durationMs: 200 });
|
||||||
} else {
|
} else {
|
||||||
await animateIn('k-layout', { name: 'fade' });
|
await animateIn('k-layout', { name: 'fade' });
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user