新建项目跳转地址login

This commit is contained in:
caishi 2021-07-07 15:50:48 +08:00 committed by caishi
parent ca84851f0b
commit 159bc0c893
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
return(
<div className="f-wrap-between mt15">
{
menuName && projectDetail ?
menuName && menuName.length> 0 && projectDetail ?
<ul className="headerMenu-wrapper">
{
Array.isArray(menuName)&& menuName.map((item,key)=>{

View File

@ -212,7 +212,7 @@ class Index extends Component {
isSpin: false
})
this.props.showNotification(`${projectsType && projectsType === "mirror" ? "镜像" : "托管"}项目创建成功!`);
this.props.history.push(`/projects/${owners_name}/${result.data.identifier}`);
this.props.history.push(`/projects/${result.data.login}/${result.data.identifier}`);
}
}
this.setState({