@@ -10,7 +10,7 @@
<section class="app-main">
<div class="app-main-content">
<transition name="fade-transform" mode="out-in">
- <keep-alive v-if="$route.meta && $route.meta.keepAlive">
+ <keep-alive v-if="$route.meta && $route.meta.keepAlive" :max="6">
<router-view :key="key" class="router-view">
</router-view>
</keep-alive>
@@ -125,7 +125,7 @@ const arrivalRoutes = {
const transferRoutes = {
path: '/transfer',
component: Layout,
- meta: { roles: ['is_showTransit'] },
+ meta: { roles: ['is_showTransit'],keepAlive: true },
children: [
{