// export const state = () => ({ // code: { // fetching: false, // data: [] // } // }) // // export const mutations = { // REQUEST_CHECK_CODE (state) { // state.code.fetching = true // }, // GET_CHECK_CODE_FAILURE (state) { // state.code.fetching = false // }, // GET_CHECK_CODE_SUCCESS (state, result) { // state.code.fetching = false // state.code.data = result // } // }