Commit 1ef8af32 by maolipeng

fix:时间单位毫秒

parent 2c70e0cc
......@@ -33,8 +33,8 @@ export default function AddLiveClassInfoWorkWX(props) {
useEffect(()=> {
setBeginTime(props.data.startTime)
setBeginDate(moment(props.data.startTime).startOf('day').valueOf())
setEndTime(props.data.startTime+Number(props.data.duration))
setEndDate(moment(props.data.startTime+Number(props.data.duration)).startOf('day').valueOf())
setEndTime(props.data.startTime+Number(props.data.duration)*1000)
setEndDate(moment(props.data.startTime+Number(props.data.duration)*1000).startOf('day').valueOf())
setTeacherId(props.data.teacherId)
setRemindTime(props.data.remindTime)
},[props.data])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment