📅  最后修改于: 2022-03-11 14:58:38.743000             🧑  作者: Mango
actions: {
actionA ({ commit }) {
...
},
actionB ({ dispatch, commit }) {
return dispatch('actionA').then(() => {
commit('someOtherMutation')
})
},
}