|
|
|
@ -117,9 +117,11 @@ |
|
|
|
item.show = false; |
|
|
|
item.show = false; |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.listData = this.listData.concat(res.data.list); |
|
|
|
this.listData = this.listData.concat(res.data.list); |
|
|
|
if(res.data.list.length == 0 || res.data.list.length < this.size){ |
|
|
|
if(res.data.list.length == 0 || res.data.totalCount < this.pageSize){ |
|
|
|
this.hasMore = false; |
|
|
|
this.hasMore = false; |
|
|
|
this.status = 'nomore'; |
|
|
|
this.status = 'nomore'; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.status = 'more'; |
|
|
|
} |
|
|
|
} |
|
|
|
uni.stopPullDownRefresh(); |
|
|
|
uni.stopPullDownRefresh(); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
|