diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index 45e4acc4a..2c07bc744 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -477,8 +477,12 @@ submittojoinclass=(value)=>{ }else if( response.data.status===6){ this.submitstatevalue( 1,"您已成功加入项目",response.data.project) }else if( response.data.status===0){ - this.openNotification("加入项目成功!"); - window.location.href(`/projects/${response.data.project_id}`) + if(RadioGroupvalue==="reporter"){ + this.openNotification("您加入项目成功!"); + window.location.href=`/projects/${response.data.project_id}`; + }else{ + this.openNotification("您的申请已提交,请等待项目管理员审批!"); + } } }) } @@ -877,7 +881,7 @@ submittojoinclass=(value)=>{ {/*
  • */} 加入项目 {/*
  • */} - { - + :""}