|  | @@ -16,8 +16,13 @@ import { queryTeacherInfo } from "@/api/app";
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    name: "app",
 | 
	
		
			
				|  |  |    async created() {
 | 
	
		
			
				|  |  | +    const whiteList = ["/order"];
 | 
	
		
			
				|  |  | +    const routePath = this.$route.path;
 | 
	
		
			
				|  |  | +    if(whiteList.includes(routePath)) {
 | 
	
		
			
				|  |  | +      return;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |      try {
 | 
	
		
			
				|  |  | -      let Authorization = this.getQueryVariable('Authorization')
 | 
	
		
			
				|  |  | +      let Authorization = this.getQueryVariable('Authorization') || null;
 | 
	
		
			
				|  |  |        if(window.location.hash.indexOf("+") >= 0) {
 | 
	
		
			
				|  |  |          Authorization = Authorization ? Authorization.split('+')[1] : null
 | 
	
		
			
				|  |  |          Authorization = ('bearer ' + Authorization)
 | 
	
	
		
			
				|  | @@ -28,8 +33,8 @@ export default {
 | 
	
		
			
				|  |  |          localStorage.setItem("Authorization", Authorization);
 | 
	
		
			
				|  |  |          localStorage.setItem("userInfo", Authorization);
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      const auth = localStorage.getItem("Authorization");
 | 
	
		
			
				|  |  | -      const userInfo = localStorage.getItem("userInfo");
 | 
	
		
			
				|  |  | +      const auth = localStorage.getItem("Authorization") || "";
 | 
	
		
			
				|  |  | +      const userInfo = localStorage.getItem("userInfo") || "";
 | 
	
		
			
				|  |  |        if (userInfo || auth) {
 | 
	
		
			
				|  |  |          await queryTeacherInfo().then((res) => {
 | 
	
		
			
				|  |  |            const result = res.data || null;
 |