From f7f79854b3ea1b72551aabfb5a915caa81003329 Mon Sep 17 00:00:00 2001 From: Ge Hao Date: Wed, 7 Dec 2016 17:00:37 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E5=BE=AE=E4=BF=A1=E7=9A=84code?= =?UTF-8?q?=E6=98=AF=E4=B8=80=E6=AC=A1=E6=80=A7=E7=9A=84=EF=BC=8C=E7=99=BB?= =?UTF-8?q?=E5=87=BA=E5=90=8E=E4=B9=9F=E8=A6=81=E6=B8=85=E6=8E=89code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/mine.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/mine/mine.js b/pages/mine/mine.js index ee7cc27..42dca2e 100644 --- a/pages/mine/mine.js +++ b/pages/mine/mine.js @@ -103,6 +103,11 @@ Page({ wx.removeStorage({ key: 'token' }) app.globalData.currentCustomer = null app.globalData.token = null + app.globalData.code = null + app.globalData.userInfo = null + app.getUserInfo(function(userInfo) { + that.setData({userInfo: userInfo}) + }) that.setData({needBindMobile: true}) } },