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