| 
						
						
							
								
							
						
						
					 | 
					@ -17,8 +17,9 @@ const Header = (props) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        const allroutes = JSON.parse(sessionStorage.getItem('allRoutes')) || [] | 
					 | 
					 | 
					        const allroutes = JSON.parse(sessionStorage.getItem('allRoutes')) || [] | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        const hasAuth = allroutes?.filter((item) => { return user?.userResources.find((child) => { return child.resourceId === item.authCode }) }) | 
					 | 
					 | 
					        const hasAuth = allroutes?.filter((item) => { return user?.userResources.find((child) => { return child.resourceId === item.authCode }) }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (user?.username === 'SuperAdmin') { | 
					 | 
					 | 
					        if (user?.username === 'SuperAdmin') { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            dispatch(push('/fillion/infor')) | 
					 | 
					 | 
					            dispatch(push('/fillion/luzheng')) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					         | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        else if (hasAuth && hasAuth.length > 0) { | 
					 | 
					 | 
					        else if (hasAuth && hasAuth.length > 0) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            const path = hasAuth[0].path | 
					 | 
					 | 
					            const path = hasAuth[0].path | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            console.log('sasa', `${path}`) | 
					 | 
					 | 
					            console.log('sasa', `${path}`) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |