fix: 接口超时 180_1000

This commit is contained in:
TsMask
2023-11-01 17:53:59 +08:00
parent 25f7b105eb
commit 0835afa374
15 changed files with 25 additions and 20 deletions

View File

@@ -43,7 +43,7 @@ export async function sendMMlByNE(
url: `/api/rest/operationManagement/v1/elementType/${neType}/objectType/mml?ne_id=${neId}`,
method: 'post',
data: { mml: [cmdStr] },
timeout: 30_1000,
timeout: 180_000,
});
// 解析数据
if (result.code === RESULT_CODE_SUCCESS && Array.isArray(result.data.data)) {