Przeglądaj źródła

取消侧边栏适配收起

Karsa 1 rok temu
rodzic
commit
0ad323d1b5
1 zmienionych plików z 0 dodań i 4 usunięć
  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");