Action 通过 store.dispatch 方法触发:. store.dispatch('increment'). 乍一眼看上去感觉多此一举,我们直接分发mutation 岂不更方便?
確定! 回上一頁