From f1c7fde2a58798dc16a6c0b650a23104ffee9e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Fri, 30 Aug 2024 10:14:39 +0800 Subject: [PATCH] fix: modify --- src/layouts/components/personal/useTokenAndLock.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layouts/components/personal/useTokenAndLock.ts b/src/layouts/components/personal/useTokenAndLock.ts index 682f434..6fbcbfd 100644 --- a/src/layouts/components/personal/useTokenAndLock.ts +++ b/src/layouts/components/personal/useTokenAndLock.ts @@ -30,6 +30,7 @@ export default function () { params.trxToken = trxToken } const res = await replaceToken(params) + console.log('自动刷新 token 看是否失效', res) if (!res.success) { clearTimer() store.dispatch('permission/ResetRoutes')