mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-24 20:47:17 +00:00
perf: 修改文件上传超时时间
This commit is contained in:
@@ -58,6 +58,7 @@ export function JobUploadFile(form) {
|
||||
url: '/api/v1/ops/jobs/upload/',
|
||||
method: 'post',
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
timeout: 10 * 60 * 1000,
|
||||
data: form
|
||||
})
|
||||
}
|
||||
|
@@ -90,6 +90,7 @@ export default {
|
||||
form,
|
||||
{
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
timeout: 10 * 60 * 1000,
|
||||
disableFlashErrorMsg: true,
|
||||
params: { update: true }
|
||||
}
|
||||
@@ -117,8 +118,9 @@ export default {
|
||||
.file-uploader.el-form-item {
|
||||
margin-bottom: 0;
|
||||
|
||||
>>> .el-upload {
|
||||
> > > .el-upload {
|
||||
width: 100%;
|
||||
|
||||
.el-upload-dragger {
|
||||
width: 100%;
|
||||
}
|
||||
|
Reference in New Issue
Block a user