Sfoglia il codice sorgente

取消侧边栏适配收起

Karsa 1 anno fa
parent
commit
0ad323d1b5
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      src/views/Home.vue

+ 0 - 4
src/views/Home.vue

@@ -427,10 +427,6 @@ export default {
     }
   },
   mounted() {
-    if (document.body.clientWidth <= 1500) {
-      //小屏适配
-      this.isCollapse = true;
-    }
     if (sessionStorage.getItem("hasGetMenu")) {
       this.navlists = JSON.parse(sessionStorage.getItem("MenuList"));
       sessionStorage.removeItem("hasGetMenu");