From 198ac6db1d364c940261e6710f6103754457a84b Mon Sep 17 00:00:00 2001 From: gpu Date: Tue, 3 Feb 2026 01:41:18 +0800 Subject: [PATCH] 21 --- honey_box/pages/shouye/detail_wuxian.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/honey_box/pages/shouye/detail_wuxian.vue b/honey_box/pages/shouye/detail_wuxian.vue index 2c73e6af..e9d38aac 100644 --- a/honey_box/pages/shouye/detail_wuxian.vue +++ b/honey_box/pages/shouye/detail_wuxian.vue @@ -571,7 +571,7 @@ this.buyNum = num; // 处理优惠券与积分互斥 - let coupon_id = (this.couponData && this.couponData.id) || '' + let coupon_id = (this.couponData && this.couponData.id) ? String(this.couponData.id) : '' if (coupon_id != '' && this.useIntegral) { this.useIntegral = false; } else if (this.useIntegral && coupon_id != '') { @@ -623,7 +623,7 @@ this.buyNum = num; // 处理优惠券与积分互斥 - let coupon_id = (this.couponData && this.couponData.id) || '' + let coupon_id = (this.couponData && this.couponData.id) ? String(this.couponData.id) : '' if (coupon_id != '' && this.useIntegral) { this.useIntegral = false; } else if (this.useIntegral && coupon_id != '') {