Refactoring
This commit is contained in:
parent
5511b6e013
commit
b335975c97
2 changed files with 20 additions and 48 deletions
|
|
@ -117,7 +117,7 @@ export default (opts) => ({
|
|||
if (cancel) return;
|
||||
}
|
||||
|
||||
if (this.isScrollTop()) {
|
||||
if (this.isScrollTop == null || this.isScrollTop()) {
|
||||
// Prepend the item
|
||||
this.items.unshift(item);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue