新建组织页也不要侧边栏
This commit is contained in:
parent
83e202dc85
commit
64a521e5e6
|
@ -356,8 +356,8 @@ export function TPMIndexHOC(WrappedComponent) {
|
|||
}
|
||||
})
|
||||
// 组织页不要
|
||||
console.log(this.props.pathType);
|
||||
if (this.props.pathType === 'Organization') hide = true
|
||||
if (path === `/organize/new`) hide = true
|
||||
// 设置页不要
|
||||
if (path === `/settings/profile`) hide = true
|
||||
return hide
|
||||
|
|
Loading…
Reference in New Issue