mirror of https://github.com/halo-dev/halo-admin
[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
parent
ee660d77e2
commit
b0d19acc16
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue