mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-03 23:19:49 +08:00
add demo
This commit is contained in:
parent
131b9b9eff
commit
581e0d9d76
@ -16,7 +16,7 @@ export default {
|
||||
return this.$store.state.tagsView.cachedViews
|
||||
},
|
||||
key() {
|
||||
return this.$route.fullPath
|
||||
return this.$route.path
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,6 +30,11 @@ export default {
|
||||
createdTimes: 0
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
activeName(val) {
|
||||
this.$router.push(`${this.$route.path}?tab=${val}`)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
showCreatedTimes() {
|
||||
this.createdTimes = this.createdTimes + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user