fix: 去掉tab页切换的渐变动画

This commit is contained in:
gaoyunqi
2024-03-04 11:14:08 +08:00
parent 9ed70d1dde
commit 633d9bbe0d

View File

@ -1,24 +1,10 @@
<template>
<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="wrap(route.name, Component)" :key="route.fullPath" />
</keep-alive>
<component v-else :is="Component" :key="route.fullPath" />
</transition>
</template>
</RouterView>
<FrameLayout v-if="getCanEmbedIFramePage" />