From 280158eee5e5a1c7ce679be44a2f5a2d6476923a Mon Sep 17 00:00:00 2001 From: xjh22222228 Date: Wed, 5 Jun 2024 11:27:34 +0800 Subject: [PATCH] test: logout --- src/utils/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/http.ts b/src/utils/http.ts index 47fa1cd..4425146 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -121,7 +121,7 @@ instance.interceptors.response.use( (error) => { const status = error.response?.status; if (status === 401) { - logout(); + // logout(); } ElNotification({ type: "error",