fix: 超时时间改为90s, 分配店铺查询
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m11s

This commit is contained in:
luo
2026-09-09 16:40:40 +08:00
parent 65cc63674e
commit fc01fa2ac9
4 changed files with 125 additions and 42 deletions

View File

@@ -7,7 +7,7 @@ import { normalizeApiError } from '@/utils/business/apiError'
import { syncCompatibleIdFields } from '@/utils/business/id'
const axiosInstance = axios.create({
timeout: 15000, // 请求超时时间(毫秒)
timeout: 90000, // 请求超时时间(毫秒)
baseURL: import.meta.env.DEV ? '' : import.meta.env.VITE_API_URL, // 开发服务器使用代理其他模式使用完整URL
withCredentials: false, // 异步请求携带cookie
transformRequest: [