新建组织页也不要侧边栏

This commit is contained in:
黄心宇 2024-03-07 11:10:36 +08:00
parent 83e202dc85
commit 64a521e5e6
1 changed files with 1 additions and 1 deletions

View File

@ -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