소스 검색

取消侧边栏适配收起

Karsa 1 년 전
부모
커밋
0ad323d1b5
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  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");