Fix:【商城小程序】提交订单页面—1.无法取消选择优惠券;2.选择其他优惠券,之前选择的优惠券仍然为被勾选状态
This commit is contained in:
@@ -161,11 +161,14 @@ export default {
|
||||
this.selectCoupon(this.list[this.maxIndex].id)
|
||||
uni.setStorageSync('couponId', this.list[this.maxIndex].id)
|
||||
}
|
||||
this.$emit('max', this.list[this.maxIndex] || {})
|
||||
// this.$emit('max', this.list[this.maxIndex] || {})
|
||||
return this.list[this.maxIndex] || {}
|
||||
}
|
||||
|
||||
},
|
||||
mounted() {
|
||||
this.$emit('max', this.largOne)
|
||||
},
|
||||
methods: {
|
||||
force2Decimal(value) {
|
||||
return this.$force2Decimal(value);
|
||||
|
||||
Reference in New Issue
Block a user