Fix:3358 【商城小程序】商详页优惠券弹窗—无法取消勾选优惠券
This commit is contained in:
@@ -388,7 +388,8 @@ export default {
|
||||
this.computedPrice('shipping_type');
|
||||
},
|
||||
async couponId(value) {
|
||||
this.couponIndex = this.couponList['usable']?.findIndex(item => item.id === value)
|
||||
this.couponIndex = this.couponList['usable']?.findIndex(item => item.id === +value)
|
||||
this.couponTitle = this.couponList['usable']?.[this.couponIndex]?.couponTitle
|
||||
await this.computedPrice('couponId')
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user