chromesetting
杨树明 5 years ago
parent 481f7503f5
commit 3f0e90ef0c

@ -96,8 +96,8 @@ export default class TPMsettings extends Component {
operateshixunstype: false, operateshixunstype: false,
}); });
// window.location.href = "/shixuns"; window.location.href = "/shixuns";
this.props.history.replace( "/shixuns/"); // this.props.history.replace( "/shixuns/");
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)
@ -114,8 +114,8 @@ export default class TPMsettings extends Component {
operateshixunstype: false, operateshixunstype: false,
}); });
// window.location.href = "/shixuns/" + id + "/challenges"; window.location.href = "/shixuns/" + id + "/challenges";
this.props.history.replace( "/shixuns/" + id + "/challenges"); // this.props.history.replace( "/shixuns/" + id + "/challenges");
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)

Loading…
Cancel
Save