|
@@ -1,29 +1,27 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
- <RouterView>
|
|
|
- <template #default="{ Component, route }">
|
|
|
- <transition
|
|
|
- :name="
|
|
|
- getTransitionName({
|
|
|
- route,
|
|
|
- openCache,
|
|
|
- enableTransition: getEnableTransition,
|
|
|
- cacheTabs: getCaches,
|
|
|
- def: getBasicTransition,
|
|
|
- })
|
|
|
- "
|
|
|
- mode="out-in"
|
|
|
- appear
|
|
|
- >
|
|
|
- <keep-alive v-if="openCache" :include="getCaches">
|
|
|
- <component :is="Component" :key="route.fullPath" />
|
|
|
- </keep-alive>
|
|
|
- <component v-else :is="Component" :key="route.fullPath" />
|
|
|
- </transition>
|
|
|
- </template>
|
|
|
- </RouterView>
|
|
|
- <FrameLayout v-if="getCanEmbedIFramePage" />
|
|
|
- </div>
|
|
|
+ <RouterView>
|
|
|
+ <template #default="{ Component, route }">
|
|
|
+ <transition
|
|
|
+ :name="
|
|
|
+ getTransitionName({
|
|
|
+ route,
|
|
|
+ openCache,
|
|
|
+ enableTransition: getEnableTransition,
|
|
|
+ cacheTabs: getCaches,
|
|
|
+ def: getBasicTransition,
|
|
|
+ })
|
|
|
+ "
|
|
|
+ mode="out-in"
|
|
|
+ appear
|
|
|
+ >
|
|
|
+ <keep-alive v-if="openCache" :include="getCaches">
|
|
|
+ <component :is="Component" :key="route.fullPath" />
|
|
|
+ </keep-alive>
|
|
|
+ <component v-else :is="Component" :key="route.fullPath" />
|
|
|
+ </transition>
|
|
|
+ </template>
|
|
|
+ </RouterView>
|
|
|
+ <FrameLayout v-if="getCanEmbedIFramePage" />
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|