Vue State

执行过程处发(dispatch)一个action, action 随后会执行(commit)一个mutation, mutation 立即会改变state,

构造函数创建store 对象, 创建state, 

When we say state we are talking about a group of dozens of variables to store data


更改 Vuex 的 store 中的状态的唯一方法是提交 mutation


获取状态


你可能感兴趣的:(Vue State)