Fix(订单):[#1221]下单界面选择优惠券后无法取消勾选
This commit is contained in:
@@ -76,7 +76,8 @@ export default {
|
|||||||
},
|
},
|
||||||
selectCoupon() {
|
selectCoupon() {
|
||||||
if (!this.radioModel) return
|
if (!this.radioModel) return
|
||||||
this.$emit('change', this.data.id)
|
// 已选中则可以取消选中
|
||||||
|
this.$emit('change', this.data.checked ? '' : this.data.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user