lyfO_o
2022-10-26 3c0a5d95d84c7321227f9252475ccb8ce4b07e1b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const errorLog = {
  state: {
    logs: []
  },
  mutations: {
    ADD_ERROR_LOG: (state, log) => {
      state.logs.push(log)
    }
  },
  actions: {
    addErrorLog({ commit }, log) {
      commit('ADD_ERROR_LOG', log)
    }
  }
}
 
export default errorLog