Fix:4139 【商城小程序】礼包领取页面转发功能关闭
This commit is contained in:
@@ -30,8 +30,9 @@ export default {
|
||||
},
|
||||
onLoad(opts) {
|
||||
this.getGiftCard(opts.code)
|
||||
|
||||
},
|
||||
onShow() {
|
||||
onShow() {
|
||||
this.giftChooseAddress = uni.getStorageSync('giftChooseAddress') || {}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
@@ -62,6 +63,10 @@ export default {
|
||||
}).then(res => {
|
||||
this.giftCard = res.data || {}
|
||||
this.loading = false
|
||||
if(this.giftCard.canTransfer === 0 ) {
|
||||
uni.hideShareMenu()
|
||||
return
|
||||
}
|
||||
}).catch(err => {
|
||||
this.giftCard = {
|
||||
canTransfer: 0,
|
||||
|
||||
Reference in New Issue
Block a user