|
@ -21,7 +21,7 @@ export default { |
|
|
<el-main> |
|
|
<el-main> |
|
|
<router-view v-if="!isRefreshing" v-slot="{ Component, route }"> |
|
|
<router-view v-if="!isRefreshing" v-slot="{ Component, route }"> |
|
|
<component :is="Component" v-if="route.meta?.disableCaching" :key="$route.fullPath" /> |
|
|
<component :is="Component" v-if="route.meta?.disableCaching" :key="$route.fullPath" /> |
|
|
<keep-alive> |
|
|
<keep-alive :include="appStore.routes.map(o=>o.path)"> |
|
|
<component :is="Component" v-if="!route.meta?.disableCaching" :key="route.fullPath" /> |
|
|
<component :is="Component" v-if="!route.meta?.disableCaching" :key="route.fullPath" /> |
|
|
</keep-alive> |
|
|
</keep-alive> |
|
|
</router-view> |
|
|
</router-view> |
|
|