From 9d65337fbd4ca03b31b0e6ab40d4c31f2032803b Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Fri, 9 Sep 2022 09:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E6=B1=82=E8=B6=85=E6=97=B6=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E4=BF=AE=E6=94=B9=E4=B8=BA=2010s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/js/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/http.js b/resources/js/http.js index e59a1e8a..46d8684b 100644 --- a/resources/js/http.js +++ b/resources/js/http.js @@ -7,7 +7,7 @@ const instance = axios.create({ headers: {'X-CSRF-TOKEN': token}, }); -axios.defaults.timeout = 5000; // 请求超时 +axios.defaults.timeout = 10000; // 请求超时 // axios.defaults.baseURL = process.env.NODE_ENV == 'production' ? process.env.VUE_APP_BASE_URL + '/' : '/'; // console.log(process.env.VUE_APP_BASE_URL) axios.defaults.baseURL = base;