dev_oauth
杨树林 6 years ago
parent a24f0613a4
commit 5da261b9f9

@ -7,7 +7,7 @@ class Certifiedprofessional extends Component {
constructor(props) {
super(props);
this.state={
occupation:1,
occupation:3,
mydisplay:false,
}
}
@ -22,11 +22,21 @@ class Certifiedprofessional extends Component {
if (response != undefined)
if (response && response.data.status === -1) {
if(response.data.message==="该课堂要求成员完成实名认证"){
this.setState({
mydisplay:true,
occupation:1,
})
}else if(response.data.message==="该课堂要求成员完成职业认证"){
this.setState({
mydisplay:true,
occupation:2,
})
}else if(response.data.message==="该课堂要求成员完成实名和职业认证"){
this.setState({
mydisplay:true,
occupation:3,
})
}
}
return response;
@ -36,7 +46,9 @@ class Certifiedprofessional extends Component {
});
}
modalCancel=()=>{
this.props.ysljoinmodalCancel();
this.setState({
mydisplay:false,
})
};
setDownload=()=>{

Loading…
Cancel
Save