From 38b870438e4f4a5f5284571525208c14073fd65b Mon Sep 17 00:00:00 2001 From: Twilight Date: Thu, 7 Nov 2024 16:10:41 +0800 Subject: [PATCH] rollback --- src/plugins/httpInterceptors.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/httpInterceptors.ts b/src/plugins/httpInterceptors.ts index ccc6906..4bd3ecd 100644 --- a/src/plugins/httpInterceptors.ts +++ b/src/plugins/httpInterceptors.ts @@ -27,11 +27,11 @@ const request = { loadingBar.start(); - const userStore = useUserStore(); + // const userStore = useUserStore(); - if (userStore.logined) { - userStore.checkAndRefresh(); - } + // if (userStore.logined) { + // userStore.checkAndRefresh(); + // } return Promise.resolve(config); },