Feat:礼品卡消息不允许转发
This commit is contained in:
@@ -191,6 +191,11 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: mapGetters(["userInfo"]),
|
computed: mapGetters(["userInfo"]),
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
|
console.log('share');
|
||||||
|
uni.updateShareMenu({
|
||||||
|
isPrivateMessage: true,
|
||||||
|
withShareTicket: true
|
||||||
|
})
|
||||||
return {
|
return {
|
||||||
title: this.message || '礼笺轻启,礼藏心意',
|
title: this.message || '礼笺轻启,礼藏心意',
|
||||||
path: `/pkg_user/views/gift/receive?code=${this.giftKey}`,
|
path: `/pkg_user/views/gift/receive?code=${this.giftKey}`,
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ export default {
|
|||||||
this.giftChooseAddress = uni.getStorageSync('giftChooseAddress') || {}
|
this.giftChooseAddress = uni.getStorageSync('giftChooseAddress') || {}
|
||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
|
uni.updateShareMenu({
|
||||||
|
isPrivateMessage: true,
|
||||||
|
withShareTicket: true
|
||||||
|
})
|
||||||
return {
|
return {
|
||||||
title: this.giftCard.message || '礼笺轻启,礼藏心意',
|
title: this.giftCard.message || '礼笺轻启,礼藏心意',
|
||||||
path: `/pkg_user/views/gift/receive?code=${this.giftCard.code}`,
|
path: `/pkg_user/views/gift/receive?code=${this.giftCard.code}`,
|
||||||
|
|||||||
@@ -247,6 +247,10 @@ export default {
|
|||||||
this.getGiftCardSendList()
|
this.getGiftCardSendList()
|
||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
|
uni.updateShareMenu({
|
||||||
|
isPrivateMessage: true,
|
||||||
|
withShareTicket: true
|
||||||
|
})
|
||||||
return {
|
return {
|
||||||
title: this.giftItem.message || '礼笺轻启,礼藏心意',
|
title: this.giftItem.message || '礼笺轻启,礼藏心意',
|
||||||
path: `/pkg_user/views/gift/receive?code=${this.giftItem.code}`,
|
path: `/pkg_user/views/gift/receive?code=${this.giftItem.code}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user