diff --git a/src/modules/tpm/TPMIndexHOC.js b/src/modules/tpm/TPMIndexHOC.js index 22ec40fde..d8f3e897d 100644 --- a/src/modules/tpm/TPMIndexHOC.js +++ b/src/modules/tpm/TPMIndexHOC.js @@ -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