refactor: ♻️ 优化页面切换动画

This commit is contained in:
郝先瑞
2024-03-01 12:55:16 +08:00
parent ef3aa3e61f
commit 675573ce1d

View File

@@ -3,7 +3,7 @@
<router-view> <router-view>
<template #default="{ Component, route }"> <template #default="{ Component, route }">
<transition <transition
enter-active-class="animate__animated animate__fadeInLeft" enter-active-class="animate__animated animate__fadeIn"
mode="out-in" mode="out-in"
> >
<keep-alive :include="cachedViews"> <keep-alive :include="cachedViews">