From 67d1e7e5eddeed033d603bbbe1734a34382f5928 Mon Sep 17 00:00:00 2001 From: LinCyJang Date: Sat, 15 Nov 2025 00:24:59 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4584=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=E5=A4=9A=E8=A7=84=E6=A0=BC?= =?UTF-8?q?=E5=95=86=E5=93=81=EF=BC=8C=E9=A6=96=E4=B8=AA=E8=A7=84=E6=A0=BC?= =?UTF-8?q?=E6=97=A0=E5=BA=93=E5=AD=98=E6=97=B6=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=95=86=E5=93=81=E6=95=B0=E9=87=8F=E6=94=B6=E8=B5=B7=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E5=90=8E=EF=BC=8C=E6=95=B0=E9=87=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=BA0=E4=B8=94=E6=95=B0=E9=87=8F=E8=83=BD=E5=87=8F?= =?UTF-8?q?=E5=B0=91=E4=B8=BA=E8=B4=9F=E6=95=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ProductWindow.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ProductWindow.vue b/components/ProductWindow.vue index d0adbbe..89120f2 100644 --- a/components/ProductWindow.vue +++ b/components/ProductWindow.vue @@ -183,7 +183,7 @@ export default { this.$emit("changeFun", { action: "changeattr", value: false }) }, CartNumDes() { - if(this.cartNumber === 1) return + if(this.cartNumber <= 1) return console.log(this.cartNumber, 'cartNumber'); this.cartNumber-- this.$emit("changeFun", { action: "ChangeCartNum", value: this.cartNumber })