chromesetting
杨树明 5 years ago
parent e170214ed9
commit 6c04b6fcc0

@ -236,7 +236,7 @@ class TPMBanner extends Component {
this.setState({
Forkvisibletype:true,
})
let id = this.props.match.params.shixunId;
let url = "/shixuns/" + id + "/copy.json";
axios.post(url, {
@ -250,7 +250,7 @@ class TPMBanner extends Component {
Forkauthentication: false,
// Forkvisibletype:false
})
// window.location.href = "/shixuns/" + response.data.shixun + "/challenges";
window.location.href = "/shixuns/" + response.data.shixun + "/challenges";
}
}).catch((error) => {

Loading…
Cancel
Save