forked from Gitlink/forgeplus-react
整体页面设置最低高度
This commit is contained in:
parent
64f946d51c
commit
bd7e1b2742
|
@ -67,6 +67,7 @@ export function TPMIndexHOC(WrappedComponent) {
|
||||||
|
|
||||||
///请求定制化的信息
|
///请求定制化的信息
|
||||||
this.getAppdata();
|
this.getAppdata();
|
||||||
|
window.scrollTo(0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -221,12 +222,14 @@ export function TPMIndexHOC(WrappedComponent) {
|
||||||
>
|
>
|
||||||
<div className="newContainer newContainers">
|
<div className="newContainer newContainers">
|
||||||
<div style={{height:"70px"}}></div>
|
<div style={{height:"70px"}}></div>
|
||||||
|
<div style={{minHeight:"60vh"}}>
|
||||||
{
|
{
|
||||||
current_user &&
|
current_user &&
|
||||||
<WrappedComponent initCommonState={(user) => this.initCommonState(user)}
|
<WrappedComponent initCommonState={(user) => this.initCommonState(user)}
|
||||||
{...this.props} {...this.state} {...common} >
|
{...this.props} {...this.state} {...common} >
|
||||||
</WrappedComponent>
|
</WrappedComponent>
|
||||||
}
|
}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Spin>
|
</Spin>
|
||||||
<NewFooter {...this.state} {...this.props} />
|
<NewFooter {...this.state} {...this.props} />
|
||||||
|
|
Loading…
Reference in New Issue