vuex 中关于mapActions 的作用,mapActions工具函数会将store中的dispatch方法映射到组件的methods中。和mapState、mapGetters也类似,只不过它映射的 ...
確定! 回上一頁