|
|
|
@ -366,9 +366,11 @@ class TPMIndex extends Component {
|
|
|
|
|
} else if (e.key === "2") {
|
|
|
|
|
this.props.history.replace(`/shixuns/${id}/propaedeutics`);
|
|
|
|
|
}else if(e.key==="3"){
|
|
|
|
|
this.props.history.replace(`/shixuns/${id}/repository`);
|
|
|
|
|
window.location.href=`/shixuns/${id}/repository`;
|
|
|
|
|
// this.props.history.replace(`/shixuns/${id}/repository`);
|
|
|
|
|
}else if(e.key==="4"){
|
|
|
|
|
this.props.history.replace(`/shixuns/${id}/secret_repository`);
|
|
|
|
|
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`);
|
|
|
|
|
} else if (e.key === "6") {
|
|
|
|
|