dev_hjm_a
杨树明 5 years ago
parent d8e6340947
commit c5191f90ab

@ -57,6 +57,11 @@ class CoursesBanner extends Component {
componentDidMount() {
this.onloadupdatabanner()
on('updatabanner', this.updatabanner)
if(this.props.match.path==="/courses/:coursesId"){
if(this.props.user!=undefined){
this.props.history.push(this.props.user.first_category_url)
}
}
axios.interceptors.response.use((response) => {
if (response != undefined)
if (response && response.data.status === 410) {

Loading…
Cancel
Save