fix: modify
parent
f5915f418b
commit
f1c7fde2a5
|
@ -30,6 +30,7 @@ export default function () {
|
||||||
params.trxToken = trxToken
|
params.trxToken = trxToken
|
||||||
}
|
}
|
||||||
const res = await replaceToken(params)
|
const res = await replaceToken(params)
|
||||||
|
console.log('自动刷新 token 看是否失效', res)
|
||||||
if (!res.success) {
|
if (!res.success) {
|
||||||
clearTimer()
|
clearTimer()
|
||||||
store.dispatch('permission/ResetRoutes')
|
store.dispatch('permission/ResetRoutes')
|
||||||
|
|
Loading…
Reference in New Issue