From 0ba022e7c3f0d7fcc9eb33b0fc4f39955604a996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=96?= Date: Mon, 18 Mar 2019 10:51:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=B8=B8=E6=88=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/main/index.js b/pages/main/index.js index 461209d..5aff9b3 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -356,13 +356,19 @@ Page({ _this.setData({ showGame: true }) + }else{ + _this.setData({ + showGame: false + }) } _this.setData({ gamedata: res.data }) }) .catch(err => { - console.log(err) + _this.setData({ + showGame: false + }) }) }, /**