|
|
@ -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({
|
|
|
|