removed console logs
This commit is contained in:
parent
f45008f80e
commit
77b2f66190
1 changed files with 0 additions and 4 deletions
|
|
@ -39,10 +39,6 @@ router.beforeEach(async (to, from, next) => {
|
|||
isLoggedIn = false
|
||||
}
|
||||
|
||||
console.log('isLoggedIn', isLoggedIn)
|
||||
console.log('to', to)
|
||||
console.log('from', from)
|
||||
|
||||
if (to.name === 'Login' && isLoggedIn) {
|
||||
next({ name: 'SupplierInvoiceList' })
|
||||
} else if (to.name !== 'Login' && !isLoggedIn) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue