From 7c925517ae3219ad14f197cc32cbbe385667b86b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=96?= Date: Mon, 18 Mar 2019 11:00:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=9B=BA=E5=AE=9A=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E6=B8=B8=E6=88=8F=E6=98=BE=E7=A4=BA=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/main/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/main/index.js b/pages/main/index.js index 5aff9b3..b2d03eb 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -334,12 +334,19 @@ Page({ _this.setData({ showIf: true }) + }else{ + _this.setData({ + showIf: false + }) } _this.setData({ staticGamedata: res.data }) }) .catch(err => { + _this.setData({ + showIf: false + }) console.log(err) }) },