📅  最后修改于: 2022-03-11 15:03:09.728000             🧑  作者: Mango
代码示例1
const store = new Vuex.Store({
state: {
count: 1
},
mutations: {
increment (state) {
// mutate state
state.count++
}
}
})