付延余
2022-04-22 9efb4e77cf44f0adaf677662c6779b45954a0a2b
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: {