fix: 页面缓存
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user