diff --git a/src/http/interceptor.ts b/src/http/interceptor.ts index 357780b..30350b4 100644 --- a/src/http/interceptor.ts +++ b/src/http/interceptor.ts @@ -40,7 +40,7 @@ const httpInterceptor = { // TIPS: 如果需要对接多个后端服务,也可以在这里处理,拼接成所需要的地址 } // 1. 请求超时 - options.timeout = 10000 // 10s + options.timeout = 60000 // 60s // 2. (可选)添加小程序端请求头标识 options.header = { platform, // 可选,与 uniapp 定义的平台一致,告诉后台来源