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

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

Loading…
Cancel
Save