This commit is contained in:
gpu 2026-02-03 01:41:18 +08:00
parent 919313445a
commit 198ac6db1d

View File

@ -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 != '') {