Fix 731 (#750)
* fix:#731 (#749) * 代码生成器样式调整 Co-authored-by: songkang1993 <38366752+songkang1993@users.noreply.github.com>
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
<template>
|
||||
<div>
|
||||
<router-view v-if="$route.meta.keepAlive" v-slot="{ Component }">
|
||||
<router-view v-slot="{ Component }">
|
||||
<transition mode="out-in" name="el-fade-in-linear">
|
||||
<keep-alive>
|
||||
<keep-alive :include="$store.getters['router/keepAliveRouters']">
|
||||
<component :is="Component" />
|
||||
</keep-alive>
|
||||
</transition>
|
||||
</router-view>
|
||||
<router-view v-if="!$route.meta.keepAlive" v-slot="{ Component }">
|
||||
<transition mode="out-in" name="el-fade-in-linear">
|
||||
<component :is="Component" />
|
||||
</transition>
|
||||
</router-view>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user