Fix bug of toot detail do not fetch correctly

This commit is contained in:
Sardo 2018-04-11 14:53:19 +08:00
parent b7f3fd2e04
commit 9d6edc2b8d
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ export default {
created () {
this.load()
},
watch: {
message: function () {
this.load()
}
},
methods: {
load () {
this.$store.dispatch('TimelineSpace/Contents/SideBar/TootDetail/fetchToot', this.message)