From ef91daff215800cd56a76dee8c14dcbd9e183143 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Wed, 22 May 2019 10:25:41 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=99=BB=E5=BD=95][=E4=BF=AE=E6=94=B9]:[?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index 82f0ab5..abf5426 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -69,10 +69,12 @@ Page({ app.getLocation(); if (options.couponChannelId || options.orderId || options.id) { that.userLogin(options); - } else { - that.userLogin() } }, + onShow(){ + let that = this; + that.userLogin(); + }, checkuserstatus(options) { let that = this; Http.get({