From 787b2eada4b8e7c1987971910c505ee7b798ddcb Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Mon, 23 Sep 2024 21:12:20 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A2405=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E4=BC=98=E6=83=A0=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E2=80=94=E5=8F=96=E6=B6=88=E9=80=89=E6=8B=A9=E4=BC=98?= =?UTF-8?q?=E6=83=A0=E5=88=B8=E5=90=8E=EF=BC=8C=E5=88=B8=E5=90=8E=E4=BB=B7?= =?UTF-8?q?=E6=98=BE=E7=A4=BA0=EF=BC=8C=E5=BA=94=E8=AF=A5=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=BD=93=E5=89=8D=E5=94=AE=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/CouponsPopup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/CouponsPopup.vue b/components/CouponsPopup.vue index cb2eaf6..2c7adf5 100644 --- a/components/CouponsPopup.vue +++ b/components/CouponsPopup.vue @@ -148,7 +148,7 @@ export default { return this.twoList['unusable'].length }, computePrice() { - return this.force2Decimal(this.currentPrice - this.selectItem.couponPrice) + return this.force2Decimal(this.currentPrice - this.selectItem.couponPrice) || this.currentPrice }, maxIndex() { const maxIndex = this.list.reduce((a, b, c) => {