diff --git a/src/pages/crontab/index.less b/src/pages/crontab/index.less index c0d38834..7f55d490 100644 --- a/src/pages/crontab/index.less +++ b/src/pages/crontab/index.less @@ -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; + } +} diff --git a/src/pages/crontab/viewManageModal.tsx b/src/pages/crontab/viewManageModal.tsx index f1a6dcb8..066fbda9 100644 --- a/src/pages/crontab/viewManageModal.tsx +++ b/src/pages/crontab/viewManageModal.tsx @@ -196,6 +196,7 @@ const ViewManageModal = ({ newData.splice(dragIndex, 1); newData.splice(hoverIndex, 0, { ...dragRow, ...data.data }); setList(newData); + cronViewChange(); } else { message.error(data); }