Fix: 【商城小程序】结算页面直接默认使用当前可用减免金额最大的优惠券
This commit is contained in:
@@ -159,7 +159,9 @@ export default {
|
||||
largOne() {
|
||||
if(this.list[this.maxIndex]) {
|
||||
this.selectCoupon(this.list[this.maxIndex].id)
|
||||
uni.setStorageSync('couponId', this.list[this.maxIndex].id)
|
||||
}
|
||||
this.$emit('max', this.list[this.maxIndex] || {})
|
||||
return this.list[this.maxIndex] || {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user