From c75622336351e87099e97a5742a05e1543ee8103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Wed, 23 Mar 2022 20:03:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=B7=E6=96=B0token?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/request.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/request.js b/utils/request.js index 54452de..17cf14a 100644 --- a/utils/request.js +++ b/utils/request.js @@ -108,10 +108,10 @@ http.interceptors.response.use( isNavigateTo = false /* 请求之后拦截器。可以使用async await 做异步操作 */ // token存在并且token过期 - if (isRefreshing && response.statusCode === 403) { - cleanStorage(); - isRefreshing = false; - } + // if (isRefreshing && response.statusCode === 403) { + // cleanStorage(); + // isRefreshing = false; + // } let token = storage.getAccessToken(); if (