dev_hs
杨树林 5 years ago
parent 981d8a82d1
commit a274b8a945

@ -247,9 +247,9 @@ const Messagerouting= Loadable({
class App extends Component { class App extends Component {
constructor(props) { constructor(props) {
super(props) super(props)
this.state = { // this.state = {
mydisplay:false // mydisplay:false
} // }
} }
HideAddcoursestypess=(i)=>{ HideAddcoursestypess=(i)=>{
@ -317,7 +317,7 @@ class App extends Component {
<Trialapplicationreview {...this.props} {...this.state}></Trialapplicationreview> <Trialapplicationreview {...this.props} {...this.state}></Trialapplicationreview>
<Addcourses {...this.props} {...this.state} HideAddcoursestypess={(i)=>this.HideAddcoursestypess(i)}/> <Addcourses {...this.props} {...this.state} HideAddcoursestypess={(i)=>this.HideAddcoursestypess(i)}/>
<AccountProfile {...this.props} {...this.state} /> <AccountProfile {...this.props} {...this.state} />
<Certifiedprofessional {...this.props} {...this.state} ModalCancelsy={this.ModalCancelsy}/> {/*<Certifiedprofessional {...this.props} {...this.state} ModalCancelsy={this.ModalCancelsy}/>*/}
<Router> <Router>
<Switch> <Switch>

@ -245,7 +245,11 @@ class Addcourses extends Component{
this.props.HideAddcoursestypess(3); this.props.HideAddcoursestypess(3);
} }
}catch (e) { }catch (e) {
this.props.showNotification(response.data.message); notification.open({
message:"提示",
description:response.data.message
});
// this.props.showNotification(response.data.message);
} }
return; return;
} }

Loading…
Cancel
Save