Commit 9b2ef90d by hank

bug

parent f784074f
...@@ -57,7 +57,7 @@ export default new Vuex.Store({ ...@@ -57,7 +57,7 @@ export default new Vuex.Store({
}, },
setToken (state, token) { setToken (state, token) {
state.token = token state.token = token
localStorage.setItem('token', JSON.stringify(res.token)) localStorage.setItem('token', JSON.stringify(token))
}, },
getAuth (state, auth) { getAuth (state, auth) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment