dev_ec
杨树明 5 years ago
parent 21462cd45e
commit 28f9f03beb

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

Loading…
Cancel
Save