开源创新组报名后,跳转到课堂的赛事说明帖子页面

dev_forum
hjm 5 years ago
parent a30134783d
commit 4da3f80ae3

@ -200,6 +200,12 @@ class Addcourses extends Component{
// // modalSave:this.submitasyn, // // modalSave:this.submitasyn,
// course_id:response.data.course_id // course_id:response.data.course_id
// }) // })
// https://www.trustie.net/issues/22365
if (response.data.course_id == 2704) {
this.props.history.push('/courses/2704/boards/8367/messages/42072')
return;
}
if(response.data.course_id!=undefined){ if(response.data.course_id!=undefined){
this.submitasyn(response.data.course_id) this.submitasyn(response.data.course_id)
} }

Loading…
Cancel
Save