const state = {
  dataStore: ''
  ,userSeq: ''
  ,userId: ''
}

const getters = {
  getDataStore: state => state.dataStore,
  getUserSeq: state => state.userSeq,
  getUserId: state => state.userId,
}

const mutations = {
  updateDataStore: (state, data) => {
    state.dataStore = data;
  },
  updateUserSeq: (state, data) => {
    state.userSeq = data;
    console.log('mutate: '+state.userSeq);
  },
  updateUserId: (state, data) => {
    state.userId = data;
  }
}

const actions = {
}

export default {
  namespaced: true,
  state,
  getters,
  mutations,
  actions
};