|
@@ -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}}
|