|
|
|
@ -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) => {
|
|
|
|
|