forked from Gitlink/forgeplus-react
个人中心devops-立即激活跳转报错
This commit is contained in:
parent
af8a5058b8
commit
f4055e50e2
|
@ -66,7 +66,7 @@ export default ((props)=>{
|
|||
{/* 原本的两种合为一个 */}
|
||||
<Route path="/:owner/:projectsId/devops"
|
||||
render={
|
||||
(p) =>{return( p.location.state.open_devops?<Dispose {...props} {...p}/>:<About {...props} {...p}/>)}
|
||||
(p) =>{return( p.location && p.location.state && p.location.state.open_devops?<Dispose {...props} {...p}/>:<About {...props} {...p}/>)}
|
||||
}
|
||||
></Route>
|
||||
</Switch>
|
||||
|
|
Loading…
Reference in New Issue