dev_admin
杨树明 6 years ago
parent 0d1f6b130f
commit ae2c877639

@ -203,7 +203,7 @@ class CoursesNew extends Component {
// debugger
if (response.data.status === 0) {
// this.goback()
this.props.history.push(first_category_url);
window.location.href=first_category_url;
}
}).catch((error) => {
console.log(error)
@ -247,7 +247,7 @@ class CoursesNew extends Component {
).then((response) => {
if (response.status === 200) {
// this.goback
this.props.history.push(response.data.first_category_url);
window.location.href=response.data.first_category_url;
}
}).catch((error) => {
console.log(error)

Loading…
Cancel
Save