Attempt to standardize api errors

This commit is contained in:
Bubka
2020-01-27 16:53:26 +01:00
parent a1f5358e4a
commit 1fcfc48ec0
2 changed files with 125 additions and 31 deletions

View File

@@ -176,13 +176,13 @@
},
beforeRouteEnter (to, from, next) {
if ( ! localStorage.getItem('jwt')) {
return next('login')
}
// beforeRouteEnter (to, from, next) {
// if ( ! localStorage.getItem('jwt')) {
// return next('login')
// }
next()
}
// next()
// }
}
</script>