Releases: repairearth/vuex-actions
Releases · repairearth/vuex-actions
v1.1.0
New
Add handleMutations
, which wraps a set of mutations with handleAction.
mutations: handleMutations({
SINGLE: (state, mutation) => {
state.obj = mutation
},
CHANGE: {
pending(state, mutation) {
state.obj = mutation
},
success(state, mutation) {
state.obj = mutation
},
error(state, mutation) {
state.obj = mutation
}
}
})
v1.0.3
🐛 Fix bug when there are not all pending(), success(), error() handlers with async actions
Bug fix
🐛 Fix the bug when using $inject
to handle promises in sequence when there are more than three dependent properties