vuex中的dispatch和commit的使用

dispatch 异步操做 this.$store.dispatch('actions的方法',arg)异步 commit 同步操做 this.$store.commit('mutations的方法',arg)this
相关文章
相关标签/搜索