Commit 60358021 by wufan

fix:修复选择讲师搜索报错问题

parent 2cb6f317
......@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-05 10:07:47
* @LastEditors: wufan
* @LastEditTime: 2021-05-25 15:25:33
* @LastEditTime: 2021-05-25 20:00:18
* @Description: 线下课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
......@@ -871,9 +871,10 @@ class AddOfflineCourse extends React.Component {
}
}}
onSearch={(value) => {
teacherQuery.nickName = value
let _teacherQuery = {...this.state.teacherQuery};
_teacherQuery.nickName = value
this.setState({
teacherQuery
teacherQuery: _teacherQuery
}, () => {
this.getTeacherList()
})
......
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