fix: modify

develop
时启龙 2024-08-30 10:14:39 +08:00
parent f5915f418b
commit f1c7fde2a5
1 changed files with 1 additions and 0 deletions

View File

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