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')