vuex2.0 基本使用(2) --- mutation 和 action

1, mutation The only way to actually change state in a Vuex store is by committing a mutation, 在vue 中,只有mutation 才能改变state. mutation 类似事件,每一个mutation都
posted @ 2017-05-31 11:22  兔&&大梅  阅读(677)  评论(0编辑  收藏  举报