|
@@ -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;
|
|
|
},
|
|
|
},
|