From 2041eca7232b494e5b8ce766b26a2399b22f9512 Mon Sep 17 00:00:00 2001 From: paulGao Date: Thu, 25 Aug 2022 14:05:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E9=A1=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/views/goods/goods-seller/goodsOperationSec.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue index aca96fe5..0c7a004a 100644 --- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue +++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue @@ -1329,9 +1329,7 @@ export default { /** 移除当前规格项 进行数据变化*/ handleCloseSkuItem($index, item) { this.skuInfo.splice($index, 1); - this.skuTableData.forEach((e, index) => { - delete e[item.name]; - }); + this.skuTableData.splice($index, 1); /** * 渲染规格详细表格 */