mirror of
https://github.com/itbaima-study/SpringBoot-Vue-Template-Session.git
synced 2025-05-17 22:01:15 +08:00
修复页面切换问题
This commit is contained in:
parent
2f1eafb4da
commit
c7b0288d5a
@ -11,8 +11,8 @@
|
||||
</div>
|
||||
<div style="width: 400px;background-color: white;z-index: 1">
|
||||
<router-view v-slot="{ Component }">
|
||||
<transition name="el-fade-in-linear">
|
||||
<component :is="Component" />
|
||||
<transition name="el-fade-in-linear" mode="out-in">
|
||||
<component :is="Component" style="height: 100%"/>
|
||||
</transition>
|
||||
</router-view>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user