zhangxiaoxu123456
2022-04-29 7e694768f428b83ed462eb384c43b2ebff61f75c
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: {