From d909c1fadb9397c6525a94714f757790efdadbec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E4=BB=99=E9=83=BD=E6=B2=A1=E7=94=A8?= <615206459@qq.com> Date: Wed, 22 Nov 2023 14:19:18 +0800 Subject: [PATCH] =?UTF-8?q?refreshToken=20=E5=A4=B1=E6=95=88=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cool/service/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cool/service/request.ts b/src/cool/service/request.ts index b1edd93..88b3e44 100644 --- a/src/cool/service/request.ts +++ b/src/cool/service/request.ts @@ -76,7 +76,7 @@ request.interceptors.request.use( isRefreshing = false; }) .catch(() => { - user.clear(); + user.logout(); }); }