You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
292 B
JavaScript

const state = {
msgTypes: []
}
const mutations = {
SET_MSG_TYPES: (state, value) => {
state.msgTypes = value
}
}
const actions = {
setMsgTypes({ commit }, data) {
commit('SET_MSG_TYPES', data)
}
}
export default {
namespaced: true,
state,
mutations,
actions
}