Merge pull request '加载时底部信息占据整个页面' (#245) from caishi/forgeplus-react:dev_educoder into dev_educoder

This commit is contained in:
jasder 2021-11-03 18:46:23 +08:00
commit 8188ceae13
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,7 @@ export function TPMIndexHOC(WrappedComponent) {
///请求定制化的信息
this.getAppdata();
window.scrollTo(0,0);
}
@ -221,12 +222,14 @@ export function TPMIndexHOC(WrappedComponent) {
>
<div className="newContainer newContainers">
<div style={{height:"70px"}}></div>
<div style={{minHeight:"60vh"}}>
{
current_user &&
<WrappedComponent initCommonState={(user) => this.initCommonState(user)}
{...this.props} {...this.state} {...common} >
</WrappedComponent>
}
</div>
</div>
</Spin>
<NewFooter {...this.state} {...this.props} />