|
|
@@ -1,14 +1,11 @@
|
|
|
<template>
|
|
|
<section class="app-main">
|
|
|
<router-view v-slot="{ Component, route }">
|
|
|
- <transition v-if="!route.meta.noCache" :enter-active-class="animate" mode="out-in">
|
|
|
- <keep-alive v-if="!route.meta.noCache" :include="tagsViewStore.cachedViews">
|
|
|
+ <transition :enter-active-class="animate" mode="out-in">
|
|
|
+ <keep-alive :include="tagsViewStore.cachedViews">
|
|
|
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
|
|
|
</keep-alive>
|
|
|
</transition>
|
|
|
- <transition v-if="route.meta.noCache" :enter-active-class="animate" mode="out-in">
|
|
|
- <component :is="Component" v-if="!route.meta.link && route.meta.noCache" :key="route.path" />
|
|
|
- </transition>
|
|
|
</router-view>
|
|
|
<iframe-toggle />
|
|
|
</section>
|