Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 0a434bc

Browse files
committed
fix(router): fix store action name
1 parent 26ddd81 commit 0a434bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/router/middlewares.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import store from '@/store'
22

33
export function getLogin(to, from, next) {
4-
store.dispatch('user/getLogin').then(() => {
4+
store.dispatch('user/auth').then(() => {
55
next()
66
})
77
}

0 commit comments

Comments
 (0)