mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	feat: update
This commit is contained in:
		
							parent
							
								
									6b151eae1b
								
							
						
					
					
						commit
						c266a675a2
					
				@ -60,6 +60,10 @@ let layoutTheme =
 | 
			
		||||
// body添加layout属性,作用于src/style/sidebar.scss
 | 
			
		||||
if (unref(layoutTheme)) {
 | 
			
		||||
  let layout = unref(layoutTheme).layout;
 | 
			
		||||
  let theme = unref(layoutTheme).theme;
 | 
			
		||||
  addClassNameToHtmlTag({
 | 
			
		||||
    scopeName: `layout-theme-${theme}`
 | 
			
		||||
  });
 | 
			
		||||
  window.document.body.setAttribute("layout", layout);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user