修复视图拖拽数据同步

This commit is contained in:
whyour 2022-09-03 14:56:32 +08:00
parent e31c2c0955
commit 1b4ca3a684
2 changed files with 7 additions and 0 deletions

View File

@ -163,3 +163,9 @@ tr.drop-over-downward td {
tr.drop-over-upward td {
border-top: 2px dashed #1890ff;
}
.view-manage-modal {
.ant-modal-body {
padding-top: 10px;
}
}

View File

@ -196,6 +196,7 @@ const ViewManageModal = ({
newData.splice(dragIndex, 1);
newData.splice(hoverIndex, 0, { ...dragRow, ...data.data });
setList(newData);
cronViewChange();
} else {
message.error(data);
}