|
@@ -39,7 +39,7 @@
|
|
|
@toggle="toggle"
|
|
|
/>
|
|
|
<!-- layout content -->
|
|
|
- <a-layout-content :style="{ height: '100%', margin: '31px 20px 0', paddingTop: multiTab&&fixedHeader ? '61px' : (!multiTab&&fixedHeader?'45px':'0') }">
|
|
|
+ <a-layout-content :style="{ height: '100%', margin: '31px 20px 0', paddingTop: multiTab&&fixedHeader ? '61px' : (!multiTab&&fixedHeader?'33px':'0') }">
|
|
|
<transition name="page-transition">
|
|
|
<route-view v-if="isRouterAlive"/>
|
|
|
</transition>
|
|
@@ -101,7 +101,7 @@ export default {
|
|
|
fixedHeader: state => state.app.fixedHeader
|
|
|
}),
|
|
|
contentPaddingLeft () {
|
|
|
- if (!this.fixSidebar || this.isMobile()) {
|
|
|
+ if (!this.fixSidebar || this.isMobile() || this.layoutMode == 'topmenu') {
|
|
|
return '0'
|
|
|
}
|
|
|
if (this.sidebarOpened) {
|
|
@@ -124,7 +124,7 @@ export default {
|
|
|
this.menus = [noqx.find(item => item.path === '/home')]
|
|
|
}
|
|
|
this.collapsed = !this.sidebarOpened
|
|
|
- this.$store.dispatch('ToggleMultiTab', true)
|
|
|
+ this.$store.dispatch('ToggleMultiTab', false)
|
|
|
this.$store.dispatch('ToggleColor', '#1890FF')
|
|
|
},
|
|
|
mounted () {
|