Commit 3831966e authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 处理新增属性值数据中id写入有误的问题

parent 12d812f0
...@@ -179,7 +179,8 @@ const ProductAttributeForm: React.FC<Iprops> = (props) => { ...@@ -179,7 +179,8 @@ const ProductAttributeForm: React.FC<Iprops> = (props) => {
item.customerAttributeValueList.push({ item.customerAttributeValueList.push({
...item.customerAttributeValueList[0], ...item.customerAttributeValueList[0],
id: data, id: data,
...values, name: values['name'],
value: values['value']
}) })
} }
return item return item
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment