mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-29 02:56:08 +08:00
修复视图拖拽数据同步
This commit is contained in:
parent
e31c2c0955
commit
1b4ca3a684
|
@ -163,3 +163,9 @@ tr.drop-over-downward td {
|
||||||
tr.drop-over-upward td {
|
tr.drop-over-upward td {
|
||||||
border-top: 2px dashed #1890ff;
|
border-top: 2px dashed #1890ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.view-manage-modal {
|
||||||
|
.ant-modal-body {
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -196,6 +196,7 @@ const ViewManageModal = ({
|
||||||
newData.splice(dragIndex, 1);
|
newData.splice(dragIndex, 1);
|
||||||
newData.splice(hoverIndex, 0, { ...dragRow, ...data.data });
|
newData.splice(hoverIndex, 0, { ...dragRow, ...data.data });
|
||||||
setList(newData);
|
setList(newData);
|
||||||
|
cronViewChange();
|
||||||
} else {
|
} else {
|
||||||
message.error(data);
|
message.error(data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user