fix: modify
parent
f5915f418b
commit
f1c7fde2a5
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue