From d1a00e2e6659f1f3588d3e9144bf876517db7a3b Mon Sep 17 00:00:00 2001 From: rui <1593038819@qq.com> Date: Sat, 3 Aug 2019 23:12:29 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=A6=96=E9=A1=B5-=E9=99=90=E6=97=B6=E6=8A=A2?= =?UTF-8?q?=E8=B4=AD=EF=BC=8C=E4=B8=93=E9=A2=98][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=9D=A1=E4=BB=B6]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/main/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/main/index.js b/pages/main/index.js index 0e04fa1..11f9a9d 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -471,7 +471,7 @@ Page({ targetAd: 2 } }).then(res => { - if (res.data.list.title) { + if (res && res.data.total>0) { that.setData({ xslist: res.data.list, showQg:true @@ -637,6 +637,8 @@ Page({ wx.stopPullDownRefresh(); //爆款专区下拉刷新 that.selectComponent("#hot").getList(); + that.getxsList(); + that.topicShow(); }, //加载更多 onReachBottom: function() {