考试记录查看更多人员信息
This commit is contained in:
parent
5a800bcd41
commit
b8e3225331
|
@ -66,9 +66,9 @@ Page({
|
|||
*/
|
||||
onReachBottom: function () {
|
||||
//上拉分页,将页码加1,然后调用分页函数
|
||||
// this.data.page = this.data.page + 1;
|
||||
// this.getRatelist();
|
||||
// wx.stopPullDownRefresh();
|
||||
this.data.page = this.data.page + 1;
|
||||
this.getRatelist();
|
||||
wx.stopPullDownRefresh();
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -108,7 +108,8 @@ Page({
|
|||
} else {
|
||||
let list
|
||||
if (page == 1) {
|
||||
list = res.data.rows.slice(0,10)
|
||||
// list = res.data.rows.slice(0,10)
|
||||
list = res.data.rows
|
||||
} else {
|
||||
list = this.data.ratelist.concat(res.data.rows)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue