chromesetting
杨树林 5 years ago
commit 863d056672

@ -704,9 +704,6 @@ class Shixuninformation extends Component {
}) })
} }
}); });
this.setState({
loading: false
})
} }
Selectthestudent = (value) => { Selectthestudent = (value) => {

@ -97,6 +97,7 @@ class Newshixuns extends Component {
}) })
const mdContnet = this.contentMdRef.current.getValue().trim(); const mdContnet = this.contentMdRef.current.getValue().trim();
this.props.form.validateFieldsAndScroll((err, values) => { this.props.form.validateFieldsAndScroll((err, values) => {
debugger
if (!err) { if (!err) {
console.log('Received values of form: ', values); console.log('Received values of form: ', values);
@ -125,13 +126,12 @@ class Newshixuns extends Component {
loading: false loading: false
}) })
}) })
}else{
this.setState({
loading: false
})
} }
}); });
this.setState({
loading: false
})
}; };
Selectthestudent = (value) => { Selectthestudent = (value) => {
this.props.form.setFieldsValue({ this.props.form.setFieldsValue({

Loading…
Cancel
Save