修复删除规格项问题

master
paulGao 2022-08-25 14:05:01 +08:00
parent db6e47fa04
commit 2041eca723
1 changed files with 1 additions and 3 deletions

View File

@ -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);
/**
* 渲染规格详细表格
*/