|  | @@ -14,9 +14,10 @@ import useErrorLog from './hooks/useErrorLog';
 | 
	
		
			
				|  |  |  async function setupApp() {
 | 
	
		
			
				|  |  |    // 处理token
 | 
	
		
			
				|  |  |    const authLoadNum = sessionStorage.getItem('authLoadNum');
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  if (location.search && authLoadNum !== '1') {
 | 
	
		
			
				|  |  | -    const parse = location.search.substring(1, location.search.length);
 | 
	
		
			
				|  |  | +  const search = location.href.split('??');
 | 
	
		
			
				|  |  | +  if (search[1] && authLoadNum !== '1') {
 | 
	
		
			
				|  |  | +    const parse = search[1];
 | 
	
		
			
				|  |  | +    console.log(parse, 'parse');
 | 
	
		
			
				|  |  |      const result = parseQuery(parse);
 | 
	
		
			
				|  |  |      if (result.Authorization) {
 | 
	
		
			
				|  |  |        const ex = 7 * 24 * 60 * 60 * 1000;
 |