update 优化 eslint

This commit is contained in:
疯狂的狮子Li
2024-06-28 10:18:18 +08:00
parent 27d36f7970
commit 7637582437
20 changed files with 27 additions and 34 deletions

View File

@ -3,10 +3,10 @@
<router-view v-slot="{ Component, route }">
<transition :enter-active-class="animante" mode="out-in">
<div>
<keep-alive :include="tagsViewStore.cachedViews" v-if="!route.meta.noCache">
<component v-if="!route.meta.link" :is="Component" :key="route.path" />
<keep-alive v-if="!route.meta.noCache" :include="tagsViewStore.cachedViews">
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
</keep-alive>
<component v-if="!route.meta.link && route.meta.noCache" :is="Component" :key="route.path" />
<component :is="Component" v-if="!route.meta.link && route.meta.noCache" :key="route.path" />
</div>
</transition>
</router-view>