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