Parcourir la source

取消侧边栏适配收起

Karsa il y a 1 an
Parent
commit
682629cc20
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  1. 0 4
      src/views/Home.vue

+ 0 - 4
src/views/Home.vue

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