lilei 3 anos atrás
pai
commit
13bdaf6b7f
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/layouts/RouteView.vue

+ 2 - 2
src/layouts/RouteView.vue

@@ -26,8 +26,8 @@ export default {
     // if (!getters.multiTab && !meta.keepAlive) {
     //   return notKeep
     // }
-    return this.keepAlive || getters.multiTab || meta.keepAlive ? inKeep : notKeep
-    // return meta.keepAlive ? inKeep : notKeep
+    // return this.keepAlive || getters.multiTab || meta.keepAlive ? inKeep : notKeep
+    return meta.keepAlive ? inKeep : notKeep
   }
 }
 </script>