mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
fix:GlobalHeader not show; GlobalLayout#content minHeight not correct
This commit is contained in:
parent
14f2012270
commit
fa7478b01b
@ -10,12 +10,12 @@
|
||||
<i-menu :collapsed="collapsed" :menuData="menuData" />
|
||||
</a-layout-sider>
|
||||
<a-layout>
|
||||
<gloabl-header :collapsed="collapsed" @toggleCollapse="toggleCollapse"/>
|
||||
<global-header :collapsed="collapsed" @toggleCollapse="toggleCollapse"/>
|
||||
<a-layout-content :style="{minHeight: minHeight, margin: '24px 24px 0'}">
|
||||
<slot></slot>
|
||||
</a-layout-content>
|
||||
<a-layout-footer style="padding: 0px">
|
||||
<gloabl-footer />
|
||||
<global-footer />
|
||||
</a-layout-footer>
|
||||
</a-layout>
|
||||
</a-layout>
|
||||
@ -32,7 +32,7 @@ const ALayoutSider = ALayout.Sider
|
||||
const ALayoutHeader = ALayout.Header
|
||||
const ALayoutContent = ALayout.Content
|
||||
const ALayoutFooter = ALayout.Footer
|
||||
const minHeight = window.innerHeight - 64 - 48
|
||||
const minHeight = window.innerHeight - 64 - 24 - 122
|
||||
|
||||
let menuData = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user