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