From 708ae53fe232c3560fe668ba1bd57e08d2e04b74 Mon Sep 17 00:00:00 2001 From: RyanRan <1410277647@qq.com> Date: Wed, 24 Jul 2024 14:45:46 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20seller=20=E7=AB=AF=20axios=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20timeout=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/libs/axios.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seller/src/libs/axios.js b/seller/src/libs/axios.js index 7b2bf38c..a61bcf61 100644 --- a/seller/src/libs/axios.js +++ b/seller/src/libs/axios.js @@ -20,10 +20,10 @@ export const uploadFile = commonUrl + "/common/common/upload/file"; var isRefreshToken = 0; const refreshToken = getTokenDebounce(); const service = axios.create({ - timeout: 10000, + baseURL: baseUrl }); - +axios.defaults.timeout = 100000 const recordCurrentPath = () => { return router.history.current.fullPath }