mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
修复删除依赖和移动环境变量接口数据结构
This commit is contained in:
Vendored
+1
-1
@@ -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]);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user