refs #355 Update tag keyword in tag timeline

This commit is contained in:
AkiraFukushima 2018-06-02 00:13:41 +09:00
parent 00452f9fe2
commit a9678b0c06
1 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,13 @@ export default {
tag: ''
}
},
watch: {
'$route': function (route) {
if (route.name === 'tag') {
this.tag = route.params.tag
}
}
},
methods: {
id () {
return this.$route.params.id