首页跳转

This commit is contained in:
黄心宇 2024-03-27 16:21:35 +08:00
parent 18c0b62361
commit eb9afc52ff
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ class NewHeader extends Component {
<span className="currentName" title={current_user && current_user.username}>{current_user && current_user.username}</span>
</Menu.Item> */}
<Menu.Item>
<a href={`https://testpm.trustie.net`}>首页</a>
<a href={`/${this.props.current_user}`}>首页</a>
</Menu.Item>
<Menu.Item>
<a href={`/${this.props.current_user && this.props.current_user.login}`}>代码库主页</a>