lint
This commit is contained in:
parent
2a6721ea56
commit
b1d1c7cfc4
1 changed files with 6 additions and 4 deletions
|
@ -98,7 +98,9 @@ window.fetch('/static/config.json')
|
||||||
}
|
}
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{ name: 'root', path: '/', redirect: to => {
|
{ name: 'root',
|
||||||
|
path: '/',
|
||||||
|
redirect: to => {
|
||||||
var redirectRootLogin = data['redirectRootLogin']
|
var redirectRootLogin = data['redirectRootLogin']
|
||||||
var redirectRootNoLogin = data['redirectRootNoLogin']
|
var redirectRootNoLogin = data['redirectRootNoLogin']
|
||||||
return (store.state.users.currentUser ? redirectRootLogin : redirectRootNoLogin) || '/main/all'
|
return (store.state.users.currentUser ? redirectRootLogin : redirectRootNoLogin) || '/main/all'
|
||||||
|
|
Loading…
Reference in a new issue