diff --git a/src/renderer/components/TimelineSpace/Contents/Hashtag.vue b/src/renderer/components/TimelineSpace/Contents/Hashtag.vue index de16b635..0cb1ea89 100644 --- a/src/renderer/components/TimelineSpace/Contents/Hashtag.vue +++ b/src/renderer/components/TimelineSpace/Contents/Hashtag.vue @@ -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