fix direction
This commit is contained in:
parent
4a1ee47771
commit
b43fe21b3d
@ -1,5 +1,5 @@
|
||||
export default async function ({ store, redirect }) {
|
||||
await store.dispatch('/auth/inspectToken')
|
||||
await store.dispatch('auth/inspectToken')
|
||||
|
||||
if (!store.state.auth.isLogin) {
|
||||
return redirect('/')
|
||||
|
Loading…
Reference in New Issue
Block a user