fork仓库还会弹协议
This commit is contained in:
parent
8cb058bbef
commit
9b840b0027
|
|
@ -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`);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -226,4 +226,7 @@
|
|||
.projectDetailBox.nodata{
|
||||
margin: 0 auto;
|
||||
}
|
||||
.resultListTable .ant-table{
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue