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]