[release-2.1] fix: timeout error caused by upload processing for more than 30 seconds (#815)

This is an automated cherry-pick of #813

/assign ruibaby

```release-note
去除上传文件处理时间超过30秒后的报错
```
pull/908/head
Halo Dev Bot 2023-01-06 11:16:38 +08:00 committed by GitHub
parent ee660d77e2
commit b0d19acc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ const uppy = computed(() => {
fieldName: props.name,
method: props.method,
limit: 5,
timeout: 0,
getResponseError: (responseText) => {
const response = JSON.parse(responseText);
const { title, detail } = (response || {}) as ProblemDetail;