Browse Source

router view 出事儿

panxiandiao_i 5 years ago
parent
commit
101908ff50
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/layout/components/AppMain.vue

+ 1 - 3
src/layout/components/AppMain.vue

@@ -1,9 +1,7 @@
 <template>
   <section class="app-main">
     <transition name="fade-transform" mode="out-in">
-      <keep-alive>
-        <router-view :key="key" />
-      </keep-alive>
+      <router-view :key="key" />
     </transition>
   </section>
 </template>