fix(系统设置): 切换空项目组织

--bug=1044212 --user=宋昌昌 【系统设置】组织下无项目-切换组织失败 https://www.tapd.cn/55049933/s/1550876
This commit is contained in:
song-cc-rock 2024-07-19 11:15:43 +08:00 committed by 刘瑞斌
parent 782b1bea86
commit fc0a72b07c
1 changed files with 4 additions and 0 deletions

View File

@ -246,6 +246,10 @@ public class UserLoginService {
user.setLastProjectId(project.getId());
updateUser(user);
return true;
} else {
// 组织下无项目, 走前端逻辑, 跳转到无项目的路由
updateUser(user);
return true;
}
}
}