From f65e714e9ebd831b215a6879f44032534aec3c0e Mon Sep 17 00:00:00 2001 From: Pan Date: Tue, 29 Aug 2017 14:33:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E8=AF=B7=E6=B1=82=E8=B6=85?= =?UTF-8?q?=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fetch.js b/src/utils/fetch.js index a421fdf..d0f7c54 100644 --- a/src/utils/fetch.js +++ b/src/utils/fetch.js @@ -7,7 +7,7 @@ import { getToken } from '@/utils/auth'; // 创建axios实例 const service = axios.create({ baseURL: process.env.BASE_API, // api的base_url - timeout: 5000 // 请求超时时间 + timeout: 15000 // 请求超时时间 }); // request拦截器