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

This is an automated cherry-pick of #813

/assign ruibaby

```release-note
去除上传文件处理时间超过30秒后的报错
```
release-2.0
Halo Dev Bot 2023-01-06 11:54:38 +08:00 committed by GitHub
parent fbb84b8c98
commit ab9801f656
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;