fix: 页面缓存

This commit is contained in:
lilinyuan
2024-07-15 09:47:02 +08:00
parent 7e1f5ca820
commit f6dcb6b71b

View File

@@ -3,7 +3,7 @@
<router-view v-slot="{ Component, route }">
<transition name="fade-transform" type="transition" appear mode="out-in">
<div>
<template v-if="!route.meta.noCache">
<template v-if="route.meta.noCache">
<keep-alive>
<suspense>
<component :is="Component" :key="route.fullPath" />