修复仓库服务页面刷新跳转登录问题

This commit is contained in:
谢思 2024-09-13 16:26:49 +08:00
parent 5eb18b49c8
commit feb7545725
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ function Main(props){
useEffect(()=>{
if(current_user && !current_user.login){
props.history.push(`/login?go_page=/${owner}/${projectsId}/service`);
// 访
// props.history.push(`/login?go_page=/${owner}/${projectsId}/service`);
}else{
setHas_trace_user(current_user.has_trace_user);
}