Commit 837886e6 authored by 李苏's avatar 李苏 💬

调整layout

parent 90d9b126
<template> <template>
<section class="app-main"> <section class="app-main">
<transition name="fade-transform" mode="out-in"> <transition name="fade-transform" mode="out-in">
<keep-alive > <keep-alive v-if="cachedViews.includes(key)" >
<router-view v-if="cachedViews.includes(key)" :key="key" /> <router-view :key="key" />
</keep-alive> </keep-alive>
<router-view v-if="!cachedViews.includes(key)" :key="key" /> <router-view v-else :key="key" />
</transition> </transition>
</section> </section>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment