zhangxiaoxu123456
2022-04-18 89f1ca8bc589aaa6f4909ebef4493063b240a3d1
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: {