dev_hs
杨树林 5 years ago
parent a9f65ba029
commit 7db6885249

@ -49,7 +49,8 @@ class CoursesBanner extends Component {
is_guide:false, is_guide:false,
excellent:false,//是否是精品课堂 excellent:false,//是否是精品课堂
yslJointhe:false, yslJointhe:false,
mydisplay:false mydisplay:false,
yslJointhes:false,
} }
} }
@ -62,6 +63,7 @@ class CoursesBanner extends Component {
if (response && response.data.status === 410) { if (response && response.data.status === 410) {
this.setState({ this.setState({
yslJointhe:true, yslJointhe:true,
yslJointhes:true
}) })
} }
@ -405,6 +407,9 @@ class CoursesBanner extends Component {
this.setState({ this.setState({
yslJointhe:false yslJointhe:false
}) })
if(this.state.yslJointhes===true){
window.location.href = "/";
}
}; };
ysljoinmodalCanceltwo=()=>{ ysljoinmodalCanceltwo=()=>{
this.setState({ this.setState({

Loading…
Cancel
Save