|
|
|
@ -324,8 +324,8 @@ class TPMBanner extends Component {
|
|
|
|
|
hidestartshixunsreplace=(url)=>{
|
|
|
|
|
axios.get(url).then((response) => {
|
|
|
|
|
if(response.status===200){
|
|
|
|
|
let path="/shixuns/"+response.data.shixun_identifier+"/challenges";
|
|
|
|
|
this.props.history.push(path);
|
|
|
|
|
// let path="/shixuns/"+response.data.shixun_identifier+"/challenges";
|
|
|
|
|
// this.props.history.push(path);
|
|
|
|
|
this.setState({
|
|
|
|
|
shixunsreplace:false
|
|
|
|
|
})
|
|
|
|
@ -667,7 +667,7 @@ class TPMBanner extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
<div className="task-popup-submit clearfix">
|
|
|
|
|
<a className="task-btn task-btn-orange fr mr51"
|
|
|
|
|
onClick={() => this.hidestartshixunsreplace(hidestartshixunsreplacevalue)}>知道了!</a>
|
|
|
|
|
onClick={() => this.hidestartshixunsreplace(hidestartshixunsreplacevalue)}>知道了</a>
|
|
|
|
|
</div>
|
|
|
|
|
</Modal>
|
|
|
|
|
|
|
|
|
|