From 6273dd48a2b8acd6323e69fafea9c4f173457a49 Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 31 Jul 2025 14:27:32 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4066=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=E6=8F=90=E4=BA=A4=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E4=BB=98=E6=AC=BE=E5=90=8E=EF=BC=8C=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E7=9F=AD=E6=9A=82=E9=97=AA=E7=8E=B0=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E2=80=9Cundefined=E2=80=9D=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_user/views/gift/gift.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkg_user/views/gift/gift.vue b/pkg_user/views/gift/gift.vue index 39b89ad..d741d7a 100644 --- a/pkg_user/views/gift/gift.vue +++ b/pkg_user/views/gift/gift.vue @@ -1,6 +1,6 @@ - x{{ goodsInfo['cartNum'] }} + x{{ goodsInfo['cartNum'] }} @@ -226,6 +226,7 @@ export default { data() { return { webUrl: this.$VUE_APP_RESOURCES_URL, + loading: true, isBlind: false, canTransfer: false, message: '', @@ -396,6 +397,7 @@ export default { const params = { cartId: this.cartId, } + this.loading = true getGiftCardSendOrderConfirm(params).then(res => { this.coverList = res.data.giftCardTemplates.map(e => e.id).includes(res.data.specialGiftCardTemplate.id) ? [...res.data.giftCardTemplates] : [...res.data.giftCardTemplates, res.data.specialGiftCardTemplate] this.giftNotice = res.data.giftCardGiftNotice @@ -409,6 +411,8 @@ export default { // this.couponId = res.data.couponList.usable[0] && res.data.couponList.usable[0].id || '' // } this.computedPrice(this.goodsInfo.cartNum) + }).finally(() => { + this.loading = false }) }, /**