Merge branch 'dev_management' of https://gitlink.org.cn/Gitlink/forgeplus-react into dev_management

This commit is contained in:
黄心宇 2024-03-07 11:10:52 +08:00
commit 11f5572fcd
2 changed files with 6 additions and 4 deletions

View File

@ -44,7 +44,7 @@ export default (props)=>{
return(
<Box>
<Short>
<Setnav header={<Title>团队设置</Title>} nav={array}></Setnav>
<Setnav header={<Title>团队设置</Title>} nav={array} history={props.history}></Setnav>
</Short>
<Long>
<Gap>

View File

@ -129,9 +129,11 @@ export function TPMIndexHOC(WrappedComponent) {
console.log(this.props.history.location);
getOrzCompanyList().then(res=>{
console.log(res);
this.setState({
companyList:res.data.rows
})
if(res){
this.setState({
companyList:res.data.rows
})
}
})
}