2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 19:37:18 +08:00

feat: 同步前端修改

This commit is contained in:
耗子
2023-10-30 19:41:37 +08:00
parent 30b7a8f317
commit 2fd37af6ea

View File

@@ -210,6 +210,9 @@ func (c *SupervisorController) Processes(ctx http.Context) http.Response {
endIndex = len(processList)
}
pagedProcessList := processList[startIndex:endIndex]
if pagedProcessList == nil {
pagedProcessList = []process{}
}
return controllers.Success(ctx, http.Json{
"total": len(processList),