wip
This commit is contained in:
parent
47efc83f16
commit
7ce857593a
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue