From 32d97ba4a2a52b0b1bc2e6b3e1984e8674e30ae9 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Wed, 24 Apr 2019 10:08:15 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=B8=93=E9=A2=98=EF=BC=8C=E5=AE=A3=E4=BC=A0?= =?UTF-8?q?=E9=A1=B5][=E4=BF=AE=E6=94=B9]:[=E6=96=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=B8=93=E9=A2=98=E5=92=8C=E5=AE=A3=E4=BC=A0=E9=A1=B5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=80=9A=E8=BF=87=E6=89=AB=E7=A0=81=E8=BF=9B=E6=9D=A5?= =?UTF-8?q?=E7=9A=84=E8=B7=AF=E5=BE=84]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/getuserinfo/index.js | 4 ++-- pages/index/index.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/getuserinfo/index.js b/pages/getuserinfo/index.js index 7dddb68..1bbc75b 100755 --- a/pages/getuserinfo/index.js +++ b/pages/getuserinfo/index.js @@ -21,8 +21,9 @@ Page({ }) } that.setData({ - optionData: options + optionData: wx.getStorageSync('options') ? JSON.parse(wx.getStorageSync('options')):null }) + console.log(that.data.optionData) if (options&&options.path == 'index') { that.setData({ @@ -113,7 +114,6 @@ Page({ url: `/pages/topicDetail/index?id=${that.data.optionData.id}` }); } else if (that.data.optionData.bt && that.data.optionData.id && app.globalData.type == 'bd') { - debugger; // 宣传页详情 if (that.data.optionData.bt == '2') { // 自由图文 diff --git a/pages/index/index.js b/pages/index/index.js index ea1d43d..ae11113 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -70,7 +70,6 @@ Page({ wx.setStorageSync('imgurl', imgurl) app.getLocation(); if (options.couponChannelId || options.orderId || options.id) { - debugger; that.userLogin(options); } else { that.userLogin()