| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -17,15 +17,18 @@ router.beforeEach(async (to, from, next) => { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  // 已登录 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  if (AccessToken) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    // 重置密码时可以去往login页面 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if ((to.params.type as string) == "4") { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    // if ((to.params.type as string) == "4") { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    //   next(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    // } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (to.params.type ) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      next(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      return | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    // 邮件重置密码 忘记密码 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (to.query.resetPwd) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      next(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (to.path === "/login") { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      // next({ path: "/createVideo" }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      next({ path: "/createVideo" }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } else { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      next(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |