diff --git a/frontend/src/api/modules/files.ts b/frontend/src/api/modules/files.ts index 30610d5cb..2f88d4af2 100644 --- a/frontend/src/api/modules/files.ts +++ b/frontend/src/api/modules/files.ts @@ -82,7 +82,7 @@ export const DownloadFile = (params: File.FileDownload) => { }; export const ComputeDirSize = (params: File.DirSizeReq) => { - return http.post('files/size', params); + return http.post('files/size', params, TimeoutEnum.T_5M); }; export const FileKeys = () => { diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index 1edd8424c..a5a468637 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -260,7 +260,13 @@