scorpio 2 anos atrás
pai
commit
6877b86524
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      src/layout/index.vue
  2. 1 1
      src/layout/top.vue

+ 1 - 1
src/layout/index.vue

@@ -96,7 +96,7 @@ export default {
     // 设置缩放比例
     setScale() {
       const width = document.documentElement.clientWidth
-      if (width < 1590) {
+      if (width < 1620) {
         this.mini = true
       } else {
         this.mini = false

+ 1 - 1
src/layout/top.vue

@@ -124,7 +124,7 @@ export default {
       this.dataType = tmp
     }
     this.$bus.on('sizeChange', res => {
-      if (res < 1590) {
+      if (res < 1620) {
         this.mini = true
       } else {
         this.mini = false