From cd12e5510d2042244c24e7cdd2bc3bd799ccdb33 Mon Sep 17 00:00:00 2001 From: lidongtony Date: Wed, 29 Mar 2023 19:29:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E8=B4=AD=E7=89=A9?= =?UTF-8?q?=E8=BD=A6=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/cart.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/index/cart.vue b/pages/index/cart.vue index c67c8b6a..2485ae84 100644 --- a/pages/index/cart.vue +++ b/pages/index/cart.vue @@ -151,6 +151,7 @@ cart.delete(cartItem.id); return; } + if(cartItem.goods_num === e) return; cartItem.goods_num = e; cart.update({ goods_id: cartItem.goods_id,