fix: 修复频繁切换路由时表单头滞留的问题 (#550)

Co-authored-by: 🌩 <hehong_tan@xmemtech.com>
This commit is contained in:
鲨鱼辣椒 2023-07-06 12:00:37 +08:00 committed by GitHub
parent d4ffc9967e
commit 78595657c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<template> <template>
<router-view v-if="!isRefreshing" v-slot="{ Component }"> <router-view v-if="!isRefreshing" v-slot="{ Component }">
<transition name="fade" mode="out-in"> <transition name="fade">
<keep-alive :include="aliveViews"> <keep-alive :include="aliveViews">
<component :is="Component" /> <component :is="Component" />
</keep-alive> </keep-alive>