mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 13:18:40 +08:00
fix: 修复频繁切换路由时表单头滞留的问题 (#550)
Co-authored-by: 🌩 <hehong_tan@xmemtech.com>
This commit is contained in:
parent
d4ffc9967e
commit
78595657c6
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user