|
|
@ -212,14 +212,14 @@ |
|
|
|
uni.stopPullDownRefresh(); |
|
|
|
} |
|
|
|
|
|
|
|
var list = res.data.list; |
|
|
|
let list = res.data.list; |
|
|
|
this.totalCount = res.data.total |
|
|
|
this.loadingType = "loadmore"; |
|
|
|
this.jobList = type === "refresh" ? list : this.jobList.concat(list); |
|
|
|
if (list == null || list.length == 0) { |
|
|
|
this.loadingType = "nomore"; |
|
|
|
return; |
|
|
|
} |
|
|
|
this.jobList = type === "refresh" ? list : this.jobList.concat(list); |
|
|
|
this.pageNo++; |
|
|
|
this.updateTitle(); |
|
|
|
}).catch(error => { |
|
|
|