From 59deccf3ac5c150190294845c69ee60077655106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=96?= Date: Tue, 12 Mar 2019 15:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BA=ABbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/joinFrDpell/index.js | 2 +- pages/spellGroup/mySpellGroup/index.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/joinFrDpell/index.js b/pages/joinFrDpell/index.js index 625ff2e..d5f740e 100644 --- a/pages/joinFrDpell/index.js +++ b/pages/joinFrDpell/index.js @@ -231,7 +231,7 @@ Page({ }) .then(res => { wx.hideLoading() - if (!orderGroupId) { + if (orderGroupId==undefined) { wx.navigateTo({ url: '/pages/order/detail/index?orderId=' + res.data.id, }) diff --git a/pages/spellGroup/mySpellGroup/index.js b/pages/spellGroup/mySpellGroup/index.js index 938d085..120f0f9 100644 --- a/pages/spellGroup/mySpellGroup/index.js +++ b/pages/spellGroup/mySpellGroup/index.js @@ -33,6 +33,7 @@ Page({ }) this.getDetail(options.couponChannelId); this.getOneSpell(options.couponId) + this.getUserInfo(); }, /** * 拨打电话 @@ -118,7 +119,7 @@ Page({ //参与别人的拼团 gotoPartner(){ wx.navigateTo({ - url: `/pages/joinFrDpell/index?orderId=${this.data.spellData.orderId}&couponId=${this.data.spellData.couponId}&orderGroupId=${this.data.spellData.orderGroupId}&couponChannelId=${this.data.couponChannelId}` + url: `/pages/joinFrDpell/index?orderId=${this.data.spellData.orderId}&couponId=${this.data.spellData.couponId}&orderGroupId=${this.data.spellData.orderGroupId}&couponChannelId=${this.data.couponChannelId}&avatarUrl=${_this.data.avatarUrl}&nickName=${_this.data.nickName}` }); }, /**