refs #355 Update tag keyword in tag timeline
This commit is contained in:
parent
00452f9fe2
commit
a9678b0c06
|
@ -31,6 +31,13 @@ export default {
|
||||||
tag: ''
|
tag: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
'$route': function (route) {
|
||||||
|
if (route.name === 'tag') {
|
||||||
|
this.tag = route.params.tag
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
id () {
|
id () {
|
||||||
return this.$route.params.id
|
return this.$route.params.id
|
||||||
|
|
Loading…
Reference in New Issue