@@ -21,7 +21,7 @@
</div>
</a-layout-header>
- <!-- <multi-tab :class="[fixedHeader ? 'ant-header-fixedMultiTab' : 'ant-header-multiTab',sidebarOpened ? 'ant-header-side-opened' : 'ant-header-side-closed',]" v-if="multiTab"></multi-tab> -->
+ <multi-tab :class="[fixedHeader ? 'ant-header-fixedMultiTab' : 'ant-header-multiTab',sidebarOpened ? 'ant-header-side-opened' : 'ant-header-side-closed',]" v-if="multiTab"></multi-tab>
</transition>
</template>
@@ -17,12 +17,12 @@ export default {
primaryColor: '#ff0000', // primary color of ant design
navTheme: 'dark', // theme for nav menu
layout: 'sidemenu', // nav menu position: sidemenu or topmenu
- contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu
- fixedHeader: false, // sticky header
+ contentWidth: 'Fluid', // layout of content: Fluid or Fixed, only works when layout is topmenu
+ fixedHeader: true, // sticky header
fixSiderbar: false, // sticky siderbar
autoHideHeader: false, // auto hide header
colorWeak: false,
- multiTab: false,
+ multiTab: true,
production: process.env.NODE_ENV === 'production' && process.env.VUE_APP_PREVIEW !== 'true',
// vue-ls options
storageOptions: {
@@ -39,7 +39,7 @@
@toggle="toggle"
/>
<!-- layout content -->
- <a-layout-content :style="{ height: '100%', margin: '24px 24px 0', paddingTop: fixedHeader ? '64px' : '0' }">
+ <a-layout-content :style="{ height: '100%', margin: '24px 24px 0', paddingTop: fixedHeader ? '105px' : '0' }">
<transition name="page-transition">
<route-view/>