mirror of https://github.com/halo-dev/halo-admin
[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
parent
fbb84b8c98
commit
ab9801f656
|
@ -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