Commit a32ae99d by zhangleyuan

feat:解决讲师和助教不是同一个人的问题

parent 72c9c86e
......@@ -220,14 +220,14 @@ handleChangeBasicInfo = (field, value) => {
}
// 修改上课信息
handleChangeClassInfo = (field, value ,teacherName) => {
handleChangeClassInfo = (field, value ,_teacherName) => {
const _value = value ? value.valueOf() : null;
const { _teacherName } = this.state.addLiveClassInfo;
const { teacherName } = this.state.addLiveClassInfo;
this.setState({
addLiveClassInfo: {
...this.state.addLiveClassInfo,
[field]: _value,
teacherName:teacherName?teacherName:_teacherName
teacherName:_teacherName?_teacherName:teacherName
}
});
// 批量开始时间改变,结束时间自动同步一致
......
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