howie пре 3 година
родитељ
комит
4197609613
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      src/layout/components/AppMain.vue

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

@@ -1,7 +1,7 @@
 <template>
   <section class="app-main">
     <transition name="fade-transform" mode="out-in">
-      <keep-alive>
+      <keep-alive >
         <router-view />
       </keep-alive>
     </transition>
@@ -13,10 +13,11 @@ export default {
   name: "AppMain",
   computed: {
     cachedViews() {
-      // console.log(this.$store.state.tagsView.cachedViews);
+
       return this.$store.state.tagsView.cachedViews;
     },
     key() {
+        console.log(this.$route.path,'45454');
       return this.$route.path;
     },
   },