💊 fix: 修复商品列表直充商品无法删除

This commit is contained in:
wangsongsole 2023-06-30 15:53:42 +08:00
parent b62e2ee2e4
commit e05268f630
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ export default class commodityList extends React.Component {
if (item.type === 1) { if (item.type === 1) {
item.entity.upstream = "直连天下" item.entity.upstream = "直连天下"
item.entity.weight = item.weight item.entity.weight = item.weight
item.entity.product_id = item.entity.goods_id
resData.push(item.entity) resData.push(item.entity)
} else if (item.type === 2) { } else if (item.type === 2) {
resData.push({ resData.push({