Browse Source

fix 时间显示错误

master
liujiangyong 2 years ago
parent
commit
42b74fa87c
  1. 2
      web/client/src/sections/patrolManage/components/planModal.js

2
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]

Loading…
Cancel
Save