We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 131b9b9 commit 581e0d9Copy full SHA for 581e0d9
src/layout/components/AppMain.vue
@@ -16,7 +16,7 @@ export default {
16
return this.$store.state.tagsView.cachedViews
17
},
18
key() {
19
- return this.$route.fullPath
+ return this.$route.path
20
}
21
22
src/views/tab/index.vue
@@ -30,6 +30,11 @@ export default {
30
createdTimes: 0
31
32
33
+ watch: {
34
+ activeName(val) {
35
+ this.$router.push(`${this.$route.path}?tab=${val}`)
36
+ }
37
+ },
38
methods: {
39
showCreatedTimes() {
40
this.createdTimes = this.createdTimes + 1
0 commit comments