12345678910111213141516171819202122232425 |
- // initial state
- const state = {
- apiError: null,
- };
- // getters
- const getters = {};
- // actions
- const actions = {};
- // mutations
- const mutations = {
- setApiError(state, value) {
- state.apiError = value;
- },
- };
- export default {
- namespaced: true,
- state,
- getters,
- actions,
- mutations
- };
|