From cd592355bf8207d0844eb8678734aa8151ac7c4d Mon Sep 17 00:00:00 2001 From: linxi Date: Fri, 8 Aug 2025 10:01:52 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4139=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E7=A4=BC=E5=8C=85=E9=A2=86?= =?UTF-8?q?=E5=8F=96=E9=A1=B5=E9=9D=A2=E8=BD=AC=E5=8F=91=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_user/views/gift/receive.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg_user/views/gift/receive.vue b/pkg_user/views/gift/receive.vue index 9de10a6..c26daa5 100644 --- a/pkg_user/views/gift/receive.vue +++ b/pkg_user/views/gift/receive.vue @@ -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,