Store({ state: { count: 0 }, mutations: { increment (state) { state.count++ } } }). 现在,你可以通过 store.state 来获取状态对象,以及通过 store.commit 方法 ...
確定! 回上一頁