Fix:2405 【商城小程序】优惠详情—取消选择优惠券后,券后价显示0,应该显示当前售价
This commit is contained in:
@@ -148,7 +148,7 @@ export default {
|
|||||||
return this.twoList['unusable'].length
|
return this.twoList['unusable'].length
|
||||||
},
|
},
|
||||||
computePrice() {
|
computePrice() {
|
||||||
return this.force2Decimal(this.currentPrice - this.selectItem.couponPrice)
|
return this.force2Decimal(this.currentPrice - this.selectItem.couponPrice) || this.currentPrice
|
||||||
},
|
},
|
||||||
maxIndex() {
|
maxIndex() {
|
||||||
const maxIndex = this.list.reduce((a, b, c) => {
|
const maxIndex = this.list.reduce((a, b, c) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user