dev_forum
杨树明 6 years ago
parent ce57c052a0
commit 7e7f2b034b

@ -330,12 +330,16 @@ class TPMBanner extends Component {
if(response.status===200){ if(response.status===200){
// let path="/shixuns/"+response.data.shixun_identifier+"/challenges"; // let path="/shixuns/"+response.data.shixun_identifier+"/challenges";
// this.props.history.push(path); // this.props.history.push(path);
if(response.data.status===-2){
this.shixunexec(response.data.message)
}
this.setState({ this.setState({
shixunsreplace:false, shixunsreplace:false,
isSpin:false, isSpin:false,
}) })
message.success('重置成功,正在进入实训!'); // message.success('重置成功,正在进入实训!');
this.startshixunCombat(); // this.startshixunCombat();
}} }}
).catch((error) => { ).catch((error) => {
this.setState({ this.setState({

Loading…
Cancel
Save