vuex使用
作者:互联网
mapState和mapGetters属于计算属性,写在computed中
mapMutations和mapActions写在methods中
标签:methods,mapState,mapActions,使用,mapMutations,vuex,computed 来源: https://www.cnblogs.com/chicidol/p/14867075.html
作者:互联网
mapState和mapGetters属于计算属性,写在computed中
mapMutations和mapActions写在methods中
标签:methods,mapState,mapActions,使用,mapMutations,vuex,computed 来源: https://www.cnblogs.com/chicidol/p/14867075.html