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

调整layout

parent 90d9b126
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive >
<router-view v-if="cachedViews.includes(key)" :key="key" />
<keep-alive v-if="cachedViews.includes(key)" >
<router-view :key="key" />
</keep-alive>
<router-view v-if="!cachedViews.includes(key)" :key="key" />
<router-view v-else :key="key" />
</transition>
</section>
</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