Feat:礼品卡消息不允许转发

This commit is contained in:
linxi
2025-06-05 15:52:38 +08:00
3 changed files with 13 additions and 0 deletions
+5
View File
@@ -191,6 +191,11 @@ export default {
},
computed: mapGetters(["userInfo"]),
onShareAppMessage() {
console.log('share');
uni.updateShareMenu({
isPrivateMessage: true,
withShareTicket: true
})
return {
title: this.message || '礼笺轻启,礼藏心意',
path: `/pkg_user/views/gift/receive?code=${this.giftKey}`,
+4
View File
@@ -35,6 +35,10 @@ export default {
this.giftChooseAddress = uni.getStorageSync('giftChooseAddress') || {}
},
onShareAppMessage() {
uni.updateShareMenu({
isPrivateMessage: true,
withShareTicket: true
})
return {
title: this.giftCard.message || '礼笺轻启,礼藏心意',
path: `/pkg_user/views/gift/receive?code=${this.giftCard.code}`,
+4
View File
@@ -247,6 +247,10 @@ export default {
this.getGiftCardSendList()
},
onShareAppMessage() {
uni.updateShareMenu({
isPrivateMessage: true,
withShareTicket: true
})
return {
title: this.giftItem.message || '礼笺轻启,礼藏心意',
path: `/pkg_user/views/gift/receive?code=${this.giftItem.code}`,