摘要: 我们的项目非常简单,当点击+1按钮的时候,count 加1,点击-1按钮的时候,count 减1. 1, mutation The only way to actually change state in a Vuex store is by committing a mutation, 在vue 阅读全文
posted @ 2017-03-13 17:15 SamWeb 阅读(56680) 评论(9) 推荐(14) 编辑