-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
if (!(authRules instanceof Array) || authRules.length === 0) {
Message.error('权限验证失败,请联系管理员~')
store.dispatch('loginOut').then(() => {
var redirect = to.fullPath
store.dispatch('loginOut').then(() => {
next({
path: '/login',
query: {redirect: redirect}
})
})
})
NProgress.done()
}
你好 请问一下这段代码中,连续分发分发两次loginOut进行调用的目的是什么?是写多了还是?
Metadata
Metadata
Assignees
Labels
No labels