From 42b74fa87c8603cb2eb8faa190fa1c146a4b4574 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Fri, 10 Mar 2023 11:40:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=97=B6=E9=97=B4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/patrolManage/components/planModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/src/sections/patrolManage/components/planModal.js b/web/client/src/sections/patrolManage/components/planModal.js index d4a1168..e159193 100644 --- a/web/client/src/sections/patrolManage/components/planModal.js +++ b/web/client/src/sections/patrolManage/components/planModal.js @@ -90,7 +90,7 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis name="form_in_modal" initialValues={{ ...curRecord, - time: [moment(curRecord?.startTime), moment(curRecord?.startTime)], + time: [moment(curRecord?.startTime), moment(curRecord?.endTime)], points: curRecord?.points?.map(p => p.id), userDept: curRecord?.user?.department?.name, frequency: curRecord?.frequency?.split('次')[0]