From 6eadcb71a7d7f0fabdb78bf0d4ba423cb75f78cb Mon Sep 17 00:00:00 2001 From: hurui Date: Sat, 3 Aug 2019 13:31:57 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=8D=A2=E4=B8=80=E6=8D=A2][=E4=BF=AE?= =?UTF-8?q?=E6=94=B9][=E6=8A=A5=E9=94=99]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/hot/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/hot/index.js b/components/hot/index.js index 2416774..6b309da 100644 --- a/components/hot/index.js +++ b/components/hot/index.js @@ -80,10 +80,11 @@ Component({ }, // 换一换 getChange(){ - if (this.kSize != 1 && that.kSize != 0){ + let that = this + if (that.kSize != 1 && that.kSize != 0){ that.getList(1) } - if (this.pSize != 1 && that.pSize != 0) { + if (that.pSize != 1 && that.pSize != 0) { that.getList(2) } },