forked from FoundKeyGang/FoundKey
Update paging.ts
This commit is contained in:
parent
320b3d8617
commit
afa4563e1e
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ export default (opts) => ({
|
|||
this.items.unshift(item);
|
||||
|
||||
if (this.isScrollTop()) {
|
||||
// オーバーフローしたら古い投稿は捨てる
|
||||
// オーバーフローしたら古いアイテムは捨てる
|
||||
if (this.items.length >= opts.displayLimit) {
|
||||
this.items = this.items.slice(0, opts.displayLimit);
|
||||
this.more = true;
|
||||
|
|
Loading…
Reference in a new issue