1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00
This commit is contained in:
syuilo 2018-02-23 05:06:47 +09:00
parent 8cec11c813
commit ea125723e3

View File

@ -34,9 +34,7 @@ export default Vue.extend({
}
},
mounted() {
this.$nextTick(() => {
this.zap();
});
this.zap();
},
beforeDestroy() {
this.disconnect();
@ -51,7 +49,9 @@ export default Vue.extend({
this.posts = posts;
this.fetching = false;
this.scrollToBottom();
this.$nextTick(() => {
this.scrollToBottom();
});
this.disconnect();
this.connection = new ChannelStream(this.channel.id);