fix: 个别接口超时时间60秒
This commit is contained in:
@@ -80,6 +80,7 @@ export async function downloadNeSoftware(data: Record<string, any>) {
|
||||
url: `/api/rest/systemManagement/v1/${data.neType}/software/${data.version}`,
|
||||
method: 'get',
|
||||
responseType: 'blob',
|
||||
timeout: 60 * 1000,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -96,6 +97,7 @@ export function uploadNeSoftware(data: FormData) {
|
||||
method: 'post',
|
||||
data,
|
||||
dataType: 'form-data',
|
||||
timeout: 60 * 1000,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user