forked from Gitlink/forgeplus-react
整体页面设置最低高度
This commit is contained in:
parent
64f946d51c
commit
bd7e1b2742
|
@ -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} />
|
||||
|
|
Loading…
Reference in New Issue