change bugs

This commit is contained in:
sylor_huang@126.com 2020-07-16 14:15:02 +08:00
parent 4a5d52116c
commit d4220b9a6b
2 changed files with 2 additions and 2 deletions

View File

@ -447,7 +447,7 @@ class Detail extends Component {
<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" />里程碑
{projectDetail && projectDetail.version_count && <span>{projectDetail.version_count}</span>}
{projectDetail && projectDetail.versions_count && <span>{projectDetail.versions_count}</span>}
</Link>
</li>
<li className={url.indexOf("/trends") > -1 ? "active" : ""}>

View File

@ -797,7 +797,7 @@ class NewHeader extends Component {
// }
return (
<li key={key} onClick={() => this.headtypesonClick(item.link, true)} className={`${this.matchpaths(item.link) === true ? 'pr active' : 'pr'}`} style={!is_hidden ? { display: 'flex' } : { display: 'none' }}>
<a href={new_link} target='_blank'>{item.name}</a>
<a href={new_link}>{item.name}</a>
{/* {
strbool ?
<React.Fragment>