Browse Source

bug 修复

lilei 4 years ago
parent
commit
f72a4d0cf1

+ 1 - 0
src/components/GlobalHeader/GlobalHeader.vue

@@ -74,6 +74,7 @@ export default {
   },
   mounted () {
     document.addEventListener('scroll', this.handleScroll, { passive: true })
+    console.log(this.multiTab)
   },
   methods: {
     handleScroll () {

+ 1 - 1
src/config/defaultSettings.js

@@ -22,7 +22,7 @@ export default {
   fixSiderbar: true, // 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: {

+ 1 - 1
src/layouts/BasicLayout.vue

@@ -51,7 +51,7 @@
       </a-layout-footer>
 
       <!-- Setting Drawer (show in development mode) -->
-      <!-- <setting-drawer v-if="!production"></setting-drawer> -->
+      <setting-drawer v-if="!production"></setting-drawer>
     </a-layout>
   </a-layout>
 

+ 1 - 1
src/store/modules/app.js

@@ -24,7 +24,7 @@ const app = {
     autoHideHeader: false,
     color: null,
     weak: false,
-    multiTab: false
+    multiTab: true
   },
   mutations: {
     SET_SIDEBAR_TYPE: (state, type) => {