修复删除依赖和移动环境变量接口数据结构

This commit is contained in:
whyour
2023-05-08 21:29:25 +08:00
parent f66390eabd
commit 7c3bb90d12
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -394,7 +394,7 @@ const Env = () => {
if (code === 200) {
const newData = [...value];
newData.splice(dragIndex, 1);
newData.splice(hoverIndex, 0, { ...dragRow, ...data.data });
newData.splice(hoverIndex, 0, { ...dragRow, ...data });
setValue([...newData]);
}
});