Pre Merge pull request !200 from lisansui/router_fix

This commit is contained in:
lisansui 2025-03-31 06:20:45 +00:00 committed by Gitee
commit 776b516b97
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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