Authored by yyq

keep alive

... ... @@ -2,7 +2,9 @@
<div id="app">
<transition
:name="`route-view-${yoho.direction}`">
<router-view></router-view>
<keep-alive>
<router-view :key="$route.fullPath"></router-view>
</keep-alive>
</transition>
</div>
</template>
... ...