From 127b460052900a934e5360218876bb5dedcd9dc5 Mon Sep 17 00:00:00 2001 From: gaoxs Date: Tue, 26 May 2020 19:12:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E5=87=8F=E5=B0=91=E5=88=B01=E6=89=8D=E4=BC=9A?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodsCon/index.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 98a3137..c6bb2e9 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -142,13 +142,13 @@ - 生成海报 + 生成海报 - + - 生成海报 + 生成海报 @@ -475,6 +475,9 @@ export default { if (num.cart_num < 1) { this.$set(this.attr.productSelect, "cart_num", 1); this.$set(this, "cart_num", 1); + } else { + this.$set(this.attr.productSelect, "cart_num", num.cart_num); + this.$set(this, "cart_num", num.cart_num); } } },