Authored by htoooth

Merge remote-tracking branch 'origin/master'

@@ -2,10 +2,13 @@ @@ -2,10 +2,13 @@
2 <div id="app"> 2 <div id="app">
3 <transition 3 <transition
4 :name="`route-view-${yoho.direction}`"> 4 :name="`route-view-${yoho.direction}`">
5 - <!-- <keep-alive> 5 + <keep-alive>
6 <router-view v-if="$route.meta.keepAlive"></router-view> 6 <router-view v-if="$route.meta.keepAlive"></router-view>
7 - </keep-alive> -->  
8 - <router-view></router-view> 7 + </keep-alive>
  8 + </transition>
  9 + <transition
  10 + :name="`route-view-${yoho.direction}`">
  11 + <router-view v-if="!$route.meta.keepAlive"></router-view>
9 </transition> 12 </transition>
10 <div class="fps" v-if="showFps"> 13 <div class="fps" v-if="showFps">
11 {{fps}} 14 {{fps}}
@@ -10,6 +10,6 @@ export default [{ @@ -10,6 +10,6 @@ export default [{
10 name: 'topic', 10 name: 'topic',
11 component: () => import(/* webpackChunkName: "article" */ './topic'), 11 component: () => import(/* webpackChunkName: "article" */ './topic'),
12 meta: { 12 meta: {
13 - keepAlive: true 13 + keepAlive: false
14 } 14 }
15 }]; 15 }];