考试记录查看更多人员信息

This commit is contained in:
caoqianming 2023-02-01 08:35:01 +08:00
parent 5a800bcd41
commit b8e3225331
1 changed files with 5 additions and 4 deletions

View File

@ -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)
} }