diff --git a/src/modules/tpm/NewHeader.js b/src/modules/tpm/NewHeader.js index 074b2b6c7..1c290730a 100644 --- a/src/modules/tpm/NewHeader.js +++ b/src/modules/tpm/NewHeader.js @@ -617,6 +617,8 @@ class NewHeader extends Component { return true } else if (url.startsWith('/statistics') && match.path.startsWith('/statistics')) { return true + } else if (url.startsWith('/users') && match.path.startsWith('/users')) { + return true } else { return false } @@ -812,6 +814,12 @@ class NewHeader extends Component { ) }) } + { + this.props.current_user && this.props.current_user.login && +
  • this.headtypesonClick(`/users/${this.props.current_user.login}`, true)} className={`${this.matchpaths(`/users/${this.props.current_user.login}`) === true ? 'pr active' : 'pr'}`} style={true ? { display: 'flex' } : { display: 'none' }}> + 项目 +
  • + } : ""