app.js 431 Bytes
/*
 * @Descripttion:
 * @version:
 * @Author: limin
 * @Date: 2021-06-07 14:12:32
 * @LastEditors: limin
 * @LastEditTime: 2021-07-06 12:02:21
 */
const state = {
  reportParams: {}
}
const mutations = {
  SET_PAGE_META (state, meta) {
    state.pageMeta = meta
  },
}
const actions = {
  // 设置name
  setUserInfo ({ commit }, user) {
    commit('SET_USER_INFO', user)
  },
}

export default {
  state,
  mutations,
  actions
}