dev_aliyun2
杨树明 5 years ago committed by harry
parent ff1aa828e5
commit 869f5bdced

@ -365,11 +365,13 @@ class TPMIndex extends Component {
this.props.history.replace(`/shixuns/${id}/challenges`); this.props.history.replace(`/shixuns/${id}/challenges`);
} else if (e.key === "2") { } else if (e.key === "2") {
this.props.history.replace(`/shixuns/${id}/propaedeutics`); this.props.history.replace(`/shixuns/${id}/propaedeutics`);
} else if (e.key === "3") { }else if(e.key==="3"){
this.props.history.replace(`/shixuns/${id}/repository`); window.location.href=`/shixuns/${id}/repository`;
} else if (e.key === "4") { // this.props.history.replace(`/shixuns/${id}/repository`);
this.props.history.replace(`/shixuns/${id}/secret_repository`); }else if(e.key==="4"){
} else if (e.key === "5") { window.location.href=`/shixuns/${id}/secret_repository`;
// this.props.history.replace(`/shixuns/${id}/secret_repository`);
}else if(e.key==="5"){
this.props.history.replace(`/shixuns/${id}/collaborators`); this.props.history.replace(`/shixuns/${id}/collaborators`);
} else if (e.key === "6") { } else if (e.key === "6") {
this.props.history.replace(`/shixuns/${id}/dataset`); this.props.history.replace(`/shixuns/${id}/dataset`);

Loading…
Cancel
Save