|  | @@ -191,9 +191,7 @@ module.exports = app => {
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |                  // 判断是否已经有对应用户信息,没有则跳转初始化页面
 |  |                  // 判断是否已经有对应用户信息,没有则跳转初始化页面
 | 
												
													
														
															|  |                  const needBoot = await ctx.service.customer.isNeedBoot(ctx.request.body);
 |  |                  const needBoot = await ctx.service.customer.isNeedBoot(ctx.request.body);
 | 
												
													
														
															|  | -                // todo 登录进来暂时跳转项目列表,工作台做好了以后须改回去
 |  | 
 | 
												
													
														
															|  | -                const url = needBoot ? '/boot' : (subProject && subProject.length === 1 ? `/sp/${subProject[0].id}/dashboard` : '/subproj');
 |  | 
 | 
												
													
														
															|  | -                // const url = needBoot ? '/boot' : (subProject && subProject.length === 1 ? `/sp/${subProject[0].id}/dashboard` : '/dashboard');
 |  | 
 | 
												
													
														
															|  | 
 |  | +                const url = needBoot ? '/boot' : (subProject && subProject.length === 1 ? `/sp/${subProject[0].id}/dashboard` : '/dashboard');
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |                  const query = URL.parse(ctx.request.header.referer, true).query;
 |  |                  const query = URL.parse(ctx.request.header.referer, true).query;
 | 
												
													
														
															|  |                  ctx.redirect(query.referer ? query.referer : url);
 |  |                  ctx.redirect(query.referer ? query.referer : url);
 |