修复页面切换问题

This commit is contained in:
NagoColer 2023-04-11 17:42:30 +08:00
parent 2f1eafb4da
commit c7b0288d5a

View File

@ -11,8 +11,8 @@
</div> </div>
<div style="width: 400px;background-color: white;z-index: 1"> <div style="width: 400px;background-color: white;z-index: 1">
<router-view v-slot="{ Component }"> <router-view v-slot="{ Component }">
<transition name="el-fade-in-linear"> <transition name="el-fade-in-linear" mode="out-in">
<component :is="Component" /> <component :is="Component" style="height: 100%"/>
</transition> </transition>
</router-view> </router-view>
</div> </div>