提交 501cb4c6 编写于 作者: O onewmm

fix:复制数组对象后修改,两个对象会产生联动修改#414

上级 08560436
......@@ -55,7 +55,7 @@ const RenderList = ({
newItem,
...displayList.slice(idx),
];
onItemChange(dataPath, JSON.parse(JSON.stringify(newList)));
onItemChange(dataPath, JSON.parse(JSON.stringify(newList)));
};
const deleteItem = idx => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册