diff --git a/src/layouts/AdminLayout.vue b/src/layouts/AdminLayout.vue index 4c8640c..afea985 100644 --- a/src/layouts/AdminLayout.vue +++ b/src/layouts/AdminLayout.vue @@ -14,8 +14,8 @@ - -
+ +
@@ -34,14 +34,14 @@ import SideMenu from '../components/menu/SideMenu' import Setting from '../components/setting/Setting' import {mapState, mapMutations, mapGetters} from 'vuex' -const minHeight = window.innerHeight - 64 - 24 - 122 +// const minHeight = window.innerHeight - 64 - 122 export default { name: 'AdminLayout', components: {Setting, SideMenu, Drawer, PageFooter, AdminHeader}, data () { return { - minHeight: minHeight, + minHeight: window.innerHeight - 64 - 122, collapsed: false, showSetting: false, drawerOpen: false @@ -109,11 +109,11 @@ export default { } }, created() { - this.correctPageMinHeight(minHeight - 1) + this.correctPageMinHeight(this.minHeight - 24) this.setActivated(this.$route) }, beforeDestroy() { - this.correctPageMinHeight(-minHeight + 1) + this.correctPageMinHeight(-this.minHeight + 24) } } @@ -152,7 +152,7 @@ export default { .admin-layout-content{ padding: 24px 24px 0; /*overflow-x: hidden;*/ - min-height: calc(100vh - 64px - 122px); + /*min-height: calc(100vh - 64px - 122px);*/ } .setting{ background-color: @primary-color; diff --git a/src/layouts/footer/PageFooter.vue b/src/layouts/footer/PageFooter.vue index c6d6d5d..6689c1c 100644 --- a/src/layouts/footer/PageFooter.vue +++ b/src/layouts/footer/PageFooter.vue @@ -20,8 +20,8 @@ export default {