Commit 64ec7d3d by chenshu

fix:修复

parent accff147
...@@ -714,7 +714,7 @@ class AddOfflineCourse extends React.Component { ...@@ -714,7 +714,7 @@ class AddOfflineCourse extends React.Component {
data.endTimeApply = undefined; data.endTimeApply = undefined;
} else { } else {
data.startTimeApply = dates[0].valueOf(); data.startTimeApply = dates[0].valueOf();
data.endTimeApply = dates[0].startOf('minute').valueOf() + 59000; data.endTimeApply = dates[1].startOf('minute').valueOf() + 59000;
} }
this.setState(data); this.setState(data);
} }
...@@ -747,7 +747,7 @@ class AddOfflineCourse extends React.Component { ...@@ -747,7 +747,7 @@ class AddOfflineCourse extends React.Component {
visible, visible,
hasImgReady, hasImgReady,
cutImageBlob, cutImageBlob,
teacherName, teacherId,
teacherList, teacherList,
calendarTime, calendarTime,
startTime, startTime,
...@@ -855,7 +855,7 @@ class AddOfflineCourse extends React.Component { ...@@ -855,7 +855,7 @@ class AddOfflineCourse extends React.Component {
<span className="label special"><span className="require">* </span>讲师:</span> <span className="label special"><span className="require">* </span>讲师:</span>
<Select <Select
placeholder="请选择讲师" placeholder="请选择讲师"
value={teacherName} value={teacherId}
style={{ width: 240 }} style={{ width: 240 }}
showSearch showSearch
allowClear allowClear
......
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