From 1b4ca3a684d5665e0b2d636e0ea214c09bc7b526 Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 3 Sep 2022 14:56:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A7=86=E5=9B=BE=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E6=95=B0=E6=8D=AE=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/crontab/index.less | 6 ++++++ src/pages/crontab/viewManageModal.tsx | 1 + 2 files changed, 7 insertions(+) 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); }