峰峰执法平台简易案件程序板块 pad端
付延余
2023-01-04 a6b40a1b80b586f7dbd874f3939f5e06fcc752d2
src/store/modules/user.js
@@ -30,6 +30,9 @@
const user = {
  state: {
    id: getStore({
      name: 'id'
    }),
    userInfo: getStore({
      name: 'userInfo'
    }) || {},
@@ -198,6 +201,14 @@
    }
  },
  mutations: {
    SET_ID: (state, id) => {
      state.id = id
      setStore({
        name:'id',
        content: state.id,
        type: 'session'
      })
    },
    SET_ACCESS_TOKEN: (state, access_token) => {
      state.access_token = access_token
      setStore({