From 3dbb71025f03700c230e04b0fd79ab23bca7a0a9 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Fri, 24 Feb 2023 09:43:15 +0800 Subject: [PATCH] =?UTF-8?q?checkItem=E5=B1=9E=E6=80=A7=E5=90=8D=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/patrolManage/components/planTemplateModal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/client/src/sections/patrolManage/components/planTemplateModal.js b/web/client/src/sections/patrolManage/components/planTemplateModal.js index c995d54..a5d1eb0 100644 --- a/web/client/src/sections/patrolManage/components/planTemplateModal.js +++ b/web/client/src/sections/patrolManage/components/planTemplateModal.js @@ -61,7 +61,7 @@ const PlanModal = ({ visible, onCancel, dispatch, type, curRecord, tableRef, che name="form_in_modal" initialValues={{ ...curRecord, - checkItems: curRecord?.check_items?.map(c => c.id) + checkItems: curRecord?.checkItems?.map(c => c.id) }} > { return { label: g.name, - options: g.check_items.map(c => { + options: g.checkItems.map(c => { return { label: c.name, value: c.id,