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