|
@@ -63,7 +63,7 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
watch: {
|
|
|
- $route() {console.log('添加',this.$route)
|
|
|
+ $route() {
|
|
|
this.addViewTags();
|
|
|
|
|
|
this.moveToCurrentTag();
|
|
@@ -95,7 +95,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async '$route.meta.title'(val){
|
|
|
- console.log(this.$route.meta.title,'添加')
|
|
|
await this.$store.dispatch("addVisitedViews", this.$route);
|
|
|
}
|
|
|
},
|