mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
fix: the cache problem of tabs page; 🐛
修复:多页签页面缓存问题;
This commit is contained in:
parent
1d85bd7a70
commit
523537953a
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<page-toggle-transition :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction">
|
||||
<keep-alive :exclude="dustbins" v-if="multiPage">
|
||||
<router-view :key="$route.fullPath" />
|
||||
<router-view />
|
||||
</keep-alive>
|
||||
<router-view v-else />
|
||||
</page-toggle-transition>
|
||||
|
@ -5,7 +5,7 @@
|
||||
</div>
|
||||
<page-toggle-transition :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction">
|
||||
<keep-alive :exclude="dustbins" v-if="multiPage">
|
||||
<router-view :key="$route.fullPath" ref="page" />
|
||||
<router-view ref="page" />
|
||||
</keep-alive>
|
||||
<router-view ref="page" v-else />
|
||||
</page-toggle-transition>
|
||||
|
Loading…
x
Reference in New Issue
Block a user