VUE-X的actions解决异步,getters分类展示,mapState和mapGetters
1.actions解决异步:store下index.js文件:getters:{/*计算大专学历的数据*/getDaZhuan:function(state){returnstate.list.filter(r=>r.xueli=='大专')},/*计算本科学历的数据*/getBengKe:function(state){returnstate.list.filter(r=>r.xueli=='本