This commit is contained in:
syuilo 2018-02-22 17:37:40 +09:00
parent 47efc83f16
commit 7ce857593a
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,9 @@
<span>%fa:angle-down%{{ _posts[i + 1]._datetext }}</span> <span>%fa:angle-down%{{ _posts[i + 1]._datetext }}</span>
</p> </p>
</template> </template>
<slot name="tail"></slot> <footer>
<slot name="tail"></slot>
</footer>
</div> </div>
</template> </template>

View File

@ -74,8 +74,8 @@ export default Vue.extend({
(this as any).api('posts/timeline', { (this as any).api('posts/timeline', {
until_id: this.posts[this.posts.length - 1].id until_id: this.posts[this.posts.length - 1].id
}).then(posts => { }).then(posts => {
this.posts = this.posts.concat(posts);
this.moreFetching = false; this.moreFetching = false;
this.posts.unshift(posts);
}); });
}, },
onPost(post) { onPost(post) {