优化: 任务日志查询速度并显示用户详情 (#2905)

* perf: task log show userinfo

* feat: add Tooltip component to TaskLogsColumnDefs
This commit is contained in:
skynono
2026-02-12 14:49:38 +08:00
committed by GitHub
parent 52b40acd78
commit b7ca7bf3ed
5 changed files with 50 additions and 27 deletions

View File

@@ -234,12 +234,6 @@ func TaskGetAllTasks(startIdx int, num int, queryParams SyncTaskQueryParams) []*
return nil
}
for _, task := range tasks {
if cache, err := GetUserCache(task.UserId); err == nil {
task.Username = cache.Username
}
}
return tasks
}