Skip to content

Commit 34656df

Browse files
authored
解决上传大文件超时的问题 (labring#606)
1 parent 7b5c350 commit 34656df

File tree

1 file changed

+1
-1
lines changed
  • projects/app/src/web/common/file

1 file changed

+1
-1
lines changed

projects/app/src/web/common/file/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const postUploadFiles = (
99
onUploadProgress: (progressEvent: AxiosProgressEvent) => void
1010
) =>
1111
POST<string[]>('/common/file/upload', data, {
12-
timeout: 48000,
12+
timeout: 0,
1313
onUploadProgress,
1414
headers: {
1515
'Content-Type': 'multipart/form-data; charset=utf-8'

0 commit comments

Comments
 (0)