dev_hs
杨树林 6 years ago
parent 1fd84fe597
commit 0ae5817144

@ -169,11 +169,12 @@ class Goldsubject extends Component {
// console.log(user_school); // console.log(user_school);
this.props.form.setFieldsValue({ this.props.form.setFieldsValue({
school:user_school, school:user_school,
starttime:moment().format(dateFormat), starttime:moment(new Date(),dateFormat),
}); });
this.setState({ this.setState({
school:user_school, school:user_school,
Whethertocreateanewclassroom:true, Whethertocreateanewclassroom:true,
datatimetwo: moment(new Date(),dateFormat),
}); });
this.handleSearchschool(user_school); this.handleSearchschool(user_school);
} }

Loading…
Cancel
Save