dev_forum
杨树明 5 years ago
parent afecc4d5b4
commit aefe7a8fa2

@ -290,11 +290,13 @@ class CoursesNew extends Component {
search:value
}).then((result)=>{
// console.log(result.data)
if (response.data.message===undefined) {
this.setState({
searchlist: result.data.course_lists,
// course:value,
fetching: false
})
}
// this.props.form.setFieldsValue({
// course:value
// })
@ -343,6 +345,7 @@ class CoursesNew extends Component {
search: value
}
}).then((result)=>{
if (response.data.message===undefined) {
this.setState({
searchlistscholl: result.data.school_names,
scholl: value
@ -350,6 +353,7 @@ class CoursesNew extends Component {
this.props.form.setFieldsValue({
scholl: value
})
}
}).catch((error)=>{
console.log(error)
})

@ -534,10 +534,10 @@ submittojoinclass=(value)=>{
<div className="newHeader" id="nHeader" >
{/*<LoginDialog*/}
{/*{...this.state}*/}
{/*{...this.props}*/}
{/*/>*/}
<LoginDialog
{...this.state}
{...this.props}
/>
<div className="educontent clearfix">
{/*<%= link_to image_tag("/images/educoder/logo.png", alt:"高校智能化教学与实训平台", className:"logoimg"), home_path %>*/}

Loading…
Cancel
Save