Commit 9aff52ac by chenshu

fix:修复

parent 89dafa66
...@@ -296,6 +296,7 @@ class AddOfflineCourse extends React.Component { ...@@ -296,6 +296,7 @@ class AddOfflineCourse extends React.Component {
const { const {
coverUrl, coverUrl,
courseName, courseName,
teacherName,
startTime, startTime,
endTime, endTime,
introduce, introduce,
...@@ -319,6 +320,7 @@ class AddOfflineCourse extends React.Component { ...@@ -319,6 +320,7 @@ class AddOfflineCourse extends React.Component {
const data = { const data = {
coverUrl, coverUrl,
courseName, courseName,
teacherName,
startTime, startTime,
endTime, endTime,
categoryName, categoryName,
...@@ -863,11 +865,11 @@ class AddOfflineCourse extends React.Component { ...@@ -863,11 +865,11 @@ class AddOfflineCourse extends React.Component {
dropdownClassName="offline-dropdown-box" dropdownClassName="offline-dropdown-box"
onPopupScroll={this.handleScrollTeacherList} onPopupScroll={this.handleScrollTeacherList}
suffixIcon={<span className="icon iconfont" style={{fontSize:'12px',color:'#BFBFBF'}}>&#xe835;</span>} suffixIcon={<span className="icon iconfont" style={{fontSize:'12px',color:'#BFBFBF'}}>&#xe835;</span>}
onChange={(value,option) => { onChange={(value, option) => {
if (option) { if (option) {
this.setState({ teacherId: value, teacherType: option.children }); this.setState({ teacherId: value, teacherName: option.children });
}else{ }else{
this.setState({ teacherId: value, teacherType: "" }); this.setState({ teacherId: value, teacherName: "" });
} }
}} }}
onSearch={(value) => { onSearch={(value) => {
......
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