From b8e32253318573dc49b4973b8e448ac77adff612 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 1 Feb 2023 08:35:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E8=AE=B0=E5=BD=95=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E6=9B=B4=E5=A4=9A=E4=BA=BA=E5=91=98=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/examtest/rate.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/examtest/rate.js b/pages/examtest/rate.js index 4f5d6f2..db5c435 100644 --- a/pages/examtest/rate.js +++ b/pages/examtest/rate.js @@ -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) }