From 6ad2aeef2e13e24fa92877792388b82e11f245d9 Mon Sep 17 00:00:00 2001 From: linxi Date: Tue, 6 May 2025 14:25:17 +0800 Subject: [PATCH] =?UTF-8?q?Fox=EF=BC=9A3721=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=95=86=E5=93=81=E5=8A=A0?= =?UTF-8?q?=E8=B4=AD=E6=95=B0=E9=87=8F=E7=AD=89=E4=BA=8E=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E6=95=B0=E6=97=B6=EF=BC=8C=E7=BB=A7=E7=BB=AD=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=95=B0=E9=87=8F=E6=8C=89=E9=92=AE=EF=BC=8C?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=89=80=E6=9C=89=E5=86=85=E5=AE=B9=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=97=A0=E6=95=88?= 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 fd3747e..226bf0e 100644 --- a/components/ProductWindow.vue +++ b/components/ProductWindow.vue @@ -181,7 +181,7 @@ export default { this.$emit("changeFun", { action: "ChangeCartNum", value: this.cartNumber }) }, CartNumAdd() { - + if(this.cartNumber >= this.attrObj.productSelect.stock) return this.cartNumber++ this.$emit("changeFun", { action: "ChangeCartNum", value: this.cartNumber }) },