diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index 67d0296f5..f6355ec51 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -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({