refine: GetUserInfo error message

This commit is contained in:
Pan
2019-01-09 16:04:24 +08:00
parent 68a19d55de
commit 9cea3c3abe
2 changed files with 5 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ router.beforeEach((to, from, next) => {
})
}).catch((err) => {
store.dispatch('FedLogOut').then(() => {
Message.error(err || 'Verification failed, please login again')
Message.error(err)
next({ path: '/' })
})
})