From ae5db60211a4e2ed4f1c863a0e585b580cee80d2 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 21 May 2023 12:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AD=9B=E9=80=89=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/crontab/viewCreateModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/crontab/viewCreateModal.tsx b/src/pages/crontab/viewCreateModal.tsx index 27696b2c..778a03f5 100644 --- a/src/pages/crontab/viewCreateModal.tsx +++ b/src/pages/crontab/viewCreateModal.tsx @@ -253,9 +253,9 @@ const ViewCreateModal = ({ name={[name, 'value']} rules={[{ required: true, message: '请输入内容' }]} > - {EOperation[filtersValue[name]['operation']] === + {EOperation[filtersValue?.[name]['operation']] === 'select' ? ( - statusElement(filtersValue[name]['property']) + statusElement(filtersValue?.[name]['property']) ) : ( )}