#19 profile.address
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
scammo
2021-08-16 18:40:55 +02:00
parent ac39750cd4
commit 096c317da8
3 changed files with 14473 additions and 15 deletions

View File

@ -13,10 +13,7 @@ const routes = [
template: "<router-view/>",
},
beforeEnter: (to, from, next) => {
console.log('test')
console.log('token', localStorage.getItem('token'))
if(localStorage.getItem('token') !== null){
console.log('next')
next()
}else{
next({path: '/', query: {url: to.fullPath, access: false}})