src/store/modules/user.js
@@ -6,11 +6,13 @@ const user = { state: { token: getStore('token') || {} token: getStore('token') || '' }, mutations: { SET_TOKEN: (state, token) => { state.token = token console.log(token,'token----set') setStore('token',state.token) } }, actions: {