摘要: methods:{ ...mapMutations({aaa:hs}) //将mutations的方法暴露出来,进行调用 aaa是他的名字 ...mapActions(['hs']) //将actions的方法暴露出来,进行调用 hss(){ this.$store.commit('hs') //通过某个方法让它 提交 } hss2(){ this.$store.dispatch('h... 阅读全文
posted @ 2018-06-14 22:03 悔创阿里-杰克马 阅读(762) 评论(0) 推荐(0) 编辑
求投食~(点图即可)