This commit is contained in:
caishi 2020-07-16 09:40:39 +08:00
parent c3d80fb588
commit 138a4c551d
3 changed files with 6 additions and 3 deletions

View File

@ -363,6 +363,7 @@ class CoderRootDirectory extends Component {
}
title = (branchLastCommit,lastCommitAuthor) => {
console.log(branchLastCommit)
if (branchLastCommit) {
return (
<div className="f-wrap-alignCenter">
@ -398,6 +399,8 @@ class CoderRootDirectory extends Component {
</span>
</div>
);
}else{
return false;
}
}

View File

@ -438,12 +438,12 @@ class Detail extends Component {
</Link>
</li>
}
<li className={url.indexOf("/ops") > -1 ? "active" : ""}>
{/* <li className={url.indexOf("/ops") > -1 ? "active" : ""}>
<Link to={{ pathname: `/projects/${projectsId}/ops`, state }}>
<i className="iconfont icon-gongzuoliu font-13 mr8"></i>
{projectDetail && projectDetail.ops_count ? <span>{projectDetail.ops_count}</span> : ""}
</Link>
</li>
</li> */}
<li className={(url.indexOf("/Milepost") > -1 || url.indexOf("meilpost") > -1) ? "active" : ""}>
<Link to={{ pathname: `/projects/${projectsId}/orders/Milepost`, state }}>
<img alt="" src={img_milepost} width="16" />里程碑

View File

@ -11,7 +11,7 @@ class RootTable extends Component{
showHeader={false}
size="small"
pagination={false}
title={() => title()}
title={title}
/>
)
}