U 增加自定义发布文件上传超时时间

pull/586/head
vapao 2022-07-13 23:35:17 +08:00
parent 36d0480dd8
commit c7beac1f86
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export default observer(function () {
const formData = new FormData();
formData.append('file', file);
formData.append('deploy_id', store.record.deploy_id);
http.post('/api/deploy/request/upload/', formData, {timeout: 120000})
http.post('/api/deploy/request/upload/', formData, {timeout: 300000})
.then(res => {
file.path = res;
setFileList([file])