sunlupeng 2 anos atrás
pai
commit
9f70e5db99
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      src/App.vue

+ 3 - 1
src/App.vue

@@ -2,7 +2,9 @@
   <div id="app">
     <div class="view-container">
       <AppHeader :visible="visible"></AppHeader>
-      <router-view />
+      <keep-alive>
+        <router-view />
+      </keep-alive>
       <AppBackTop></AppBackTop>
     </div>
   </div>