From e5110e624c55d89b275a11e76bc0e8b77a2a0f9c Mon Sep 17 00:00:00 2001 From: yang chen Date: Wed, 10 Dec 2025 14:49:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E5=A2=9E=E5=8A=A0=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=AF=B7=E6=B1=82=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将默认请求超时时间从30秒调整为300秒 - 保持上传文件接口的特定超时时间为120秒 - 优化导出语句格式以提高代码可读性 --- src/config/axios/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/axios/config.ts b/src/config/axios/config.ts index 16d11d7..8f7d245 100644 --- a/src/config/axios/config.ts +++ b/src/config/axios/config.ts @@ -16,7 +16,7 @@ const config: { /** * 接口请求超时时间 */ - request_timeout: 30000, + request_timeout: 300000, /** * 默认接口请求类型 @@ -30,4 +30,4 @@ const specificApiTimeoutObj = { '/infra/file/jeelowcode/upload': 120000,//上传文件接口 } -export { config, specificApiTimeoutObj } +export {config, specificApiTimeoutObj}