Fix(订单):[#1221]下单界面选择优惠券后无法取消勾选

This commit is contained in:
lifizer
2024-04-22 22:48:04 +08:00
parent a0c540d474
commit 79ddcd69ce
+2 -1
View File
@@ -76,7 +76,8 @@ export default {
},
selectCoupon() {
if (!this.radioModel) return
this.$emit('change', this.data.id)
// 已选中则可以取消选中
this.$emit('change', this.data.checked ? '' : this.data.id)
}
}
}