From 962141b77821fdeb91c190534a86f452eba188f0 Mon Sep 17 00:00:00 2001 From: Jin Mao Date: Mon, 25 Aug 2025 10:48:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor(auth):=20=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=20accessToken=20=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 auth.ts 文件中,注释掉了设置 accessToken 的代码行 - 这可能是为了暂时禁用该功能或进行调试 --- playground/src/store/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/src/store/auth.ts b/playground/src/store/auth.ts index 4adeb76e1..7385aeedc 100644 --- a/playground/src/store/auth.ts +++ b/playground/src/store/auth.ts @@ -38,7 +38,7 @@ export const useAuthStore = defineStore('auth', () => { // 如果成功获取到 accessToken if (accessToken) { - accessStore.setAccessToken(accessToken); + // accessStore.setAccessToken(accessToken); // 获取用户信息并存储到 accessStore 中 const [fetchUserInfoResult, accessCodes] = await Promise.all([