mirror of
https://github.com/acepanel/panel.git
synced 2026-02-06 07:27:16 +08:00
feat: 同步前端更改
This commit is contained in:
@@ -58,6 +58,9 @@ func (c *S3fsController) List(ctx http.Context) http.Response {
|
||||
endIndex = len(s3fsList)
|
||||
}
|
||||
pagedS3fsList := s3fsList[startIndex:endIndex]
|
||||
if pagedS3fsList == nil {
|
||||
pagedS3fsList = []s3fs{}
|
||||
}
|
||||
|
||||
return controllers.Success(ctx, http.Json{
|
||||
"total": len(s3fsList),
|
||||
|
||||
Reference in New Issue
Block a user