From e2cd743f60826aa2f01bd04a13f31334e4529238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=AE=BF=E6=98=95?= Date: Thu, 12 Nov 2020 19:09:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E9=80=89=E7=8A=B6=E6=80=81+=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E8=A7=84=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/shopping-cart/shopping-cart-cell.vue | 9 ++------- src/components/shopping-cart/shopping-cart-com.vue | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/shopping-cart/shopping-cart-cell.vue b/src/components/shopping-cart/shopping-cart-cell.vue index fd08636..1458f8e 100644 --- a/src/components/shopping-cart/shopping-cart-cell.vue +++ b/src/components/shopping-cart/shopping-cart-cell.vue @@ -315,13 +315,8 @@ export default { this.specificationApplicationPop = val; }, submitPop() { - this.cellItems.service.spcs_info = - this.specificationPop.spcs_type == 1 - ? this.cellItems.service.request_spcs_info.spcs_type_1[val] - : this.specificationPop.spcs_type == 2 - ? this.cellItems.service.request_spcs_info.spcs_type_2[val] - : ""; - this.updateShoppingCart(); + this.cellItems.service.spcs_info = this.specificationPop; + this.visible = false; this.updateShoppingCart(); }, setSpecificationPop() { diff --git a/src/components/shopping-cart/shopping-cart-com.vue b/src/components/shopping-cart/shopping-cart-com.vue index a8edb7d..1efa833 100644 --- a/src/components/shopping-cart/shopping-cart-com.vue +++ b/src/components/shopping-cart/shopping-cart-com.vue @@ -165,6 +165,7 @@ export default { this.listIn = response.data.data.invalid || []; this.checkList = []; this.checkListIn = []; + this.checkShopAll = false; for (let index in this.list) { this.checkList.push(false); } -- 2.26.0