fix 修复 变量漏改

This commit is contained in:
疯狂的狮子Li 2025-03-04 10:05:25 +08:00
parent e38d286c11
commit 7a8620c994

View File

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