Browse Source

取消侧边栏适配收起

Karsa 1 year ago
parent
commit
682629cc20
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/views/Home.vue

+ 0 - 4
src/views/Home.vue

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