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}` }); }, /**