From ab9801f65655169d34c99d984243ae714841b9ac Mon Sep 17 00:00:00 2001 From: Halo Dev Bot <87291978+halo-dev-bot@users.noreply.github.com> Date: Fri, 6 Jan 2023 11:54:38 +0800 Subject: [PATCH] [release-2.0] fix: timeout error caused by upload processing for more than 30 seconds (#814) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is an automated cherry-pick of #813 /assign ruibaby ```release-note 去除上传文件处理时间超过30秒后的报错 ``` --- src/components/upload/UppyUpload.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/upload/UppyUpload.vue b/src/components/upload/UppyUpload.vue index 3455d900..756dadb9 100644 --- a/src/components/upload/UppyUpload.vue +++ b/src/components/upload/UppyUpload.vue @@ -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;