fix: 接口超时 180_1000
This commit is contained in:
@@ -11,6 +11,7 @@ export function exportSub(query: Record<string, any>) {
|
||||
method: 'post',
|
||||
data: query,
|
||||
responseType: 'blob',
|
||||
timeout: 180_000,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -26,6 +27,7 @@ export function importSubData(neId: string, data: FormData) {
|
||||
method: 'post',
|
||||
data,
|
||||
dataType: 'form-data',
|
||||
timeout: 180_000,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -38,7 +40,7 @@ export function loadSub(neId: string) {
|
||||
return request({
|
||||
url: `/api/rest/udmUserManage/v1/subSave/${neId}`,
|
||||
method: 'post',
|
||||
timeout: 60 * 1000,
|
||||
timeout: 180_000,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user