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
							
								
									b10c3eb1bb
								
							
						
					
					
						commit
						0d4d3a301b
					
				@ -43,7 +43,7 @@ import { subBefore, getQueryMap } from "@pureadmin/utils";
 | 
				
			|||||||
    delete params["roles"];
 | 
					    delete params["roles"];
 | 
				
			||||||
    delete params["accessToken"];
 | 
					    delete params["accessToken"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const newUrl = `${location.origin}${subBefore(
 | 
					    const newUrl = `${location.origin}${location.pathname}${subBefore(
 | 
				
			||||||
      location.hash,
 | 
					      location.hash,
 | 
				
			||||||
      "?"
 | 
					      "?"
 | 
				
			||||||
    )}?${JSON.stringify(params)
 | 
					    )}?${JSON.stringify(params)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user