整体页面设置最低高度

This commit is contained in:
caishi 2021-11-02 14:56:53 +08:00
parent 64f946d51c
commit bd7e1b2742
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} />