摘要:
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
悔创阿里-杰克马
阅读(770)
评论(0)
推荐(0)

浙公网安备 33010602011771号