fix url
This commit is contained in:
parent
30d0635563
commit
fd82735b3d
@ -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…
x
Reference in New Issue
Block a user