mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	fix: 修复左侧菜单折叠后突然拉升造成左侧菜单整体不显示的问题
This commit is contained in:
		
							parent
							
								
									46db63e914
								
							
						
					
					
						commit
						1c89464d1a
					
				@ -96,11 +96,12 @@ emitter.on("resize", ({ detail }) => {
 | 
			
		||||
      toggle("desktop", false);
 | 
			
		||||
      isAutoCloseSidebar = false;
 | 
			
		||||
    }
 | 
			
		||||
  } else if (width > 990) {
 | 
			
		||||
    if (!set.sidebar.isClickCollapse) {
 | 
			
		||||
      toggle("desktop", true);
 | 
			
		||||
      isAutoCloseSidebar = true;
 | 
			
		||||
    }
 | 
			
		||||
  } else if (width > 990 && !set.sidebar.isClickCollapse) {
 | 
			
		||||
    toggle("desktop", true);
 | 
			
		||||
    isAutoCloseSidebar = true;
 | 
			
		||||
  } else {
 | 
			
		||||
    toggle("desktop", false);
 | 
			
		||||
    isAutoCloseSidebar = false;
 | 
			
		||||
  }
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user