Answers for "vue store use action in action"

0

vue store use action in action

actions: {
  actionA ({ commit }) {
    ...
  },
  actionB ({ dispatch, commit }) {
    return dispatch('actionA').then(() => {
      commit('someOtherMutation')
    })
  },
}
Posted by: Guest on July-06-2021

Code answers related to "vue store use action in action"

Browse Popular Code Answers by Language