fix(request): 调整默认请求超时时间为 30 秒

- 将 vben 全局请求超时从 10s 调整为 30s
- 对齐 Vue3 + Element Plus 管理后台的请求超时配置
- 避免代码生成器导入表等慢接口频繁超时
pull/367/head
YunaiV 2026-06-14 01:57:41 +08:00
parent 8611d40b5c
commit 2a45d2d324
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class RequestClient {
},
responseReturn: 'raw',
// 默认超时时间
timeout: 10_000,
timeout: 30_000,
paramsSerializer: 'repeat',
};
const { ...axiosConfig } = options;