Skip to content

Commit 766c68f

Browse files
committed
change action
1 parent 99a7600 commit 766c68f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/store/action.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@ import {
66
} from './mutation-types.js'
77

88
export default {
9-
async getUserInfo({
10-
commit,
11-
state
12-
}) {
13-
let res = await getUser();
9+
async getUserInfo({commit,state }) {
10+
let res = await getUser();
1411
commit(GET_USERINFO, res)
15-
},
12+
},
1613

1714
}

0 commit comments

Comments
 (0)