fork仓库还会弹协议

This commit is contained in:
谢思 2022-08-27 15:41:44 +08:00
parent 8cb058bbef
commit 9b840b0027
2 changed files with 6 additions and 3 deletions

View File

@ -21,10 +21,10 @@ function Main(props){
}
function openDetail(){
if(!has_trace_user){
setVisible(true);
}else if(projectDetail && projectDetail.forked_from_project_id){
if(projectDetail && projectDetail.forked_from_project_id){
showNotification("fork仓库暂不支持代码溯源服务敬请谅解。");
}else if(!has_trace_user){
setVisible(true);
}else{
props.history.push(`/${owner}/${projectsId}/server/1`);
}

View File

@ -226,4 +226,7 @@
.projectDetailBox.nodata{
margin: 0 auto;
}
.resultListTable .ant-table{
border: none;
}
}