aa

fetchBmotivates() {
this.$http.get("api/motivate/showall/1").then(function(response) {
this.bmotivates = response.data.data;
var size = this.bmotivates.size;
var xiangmu = new Array();
for(var i = 0 ;i<size;i++){
xiangmu.push(this.bmotivates[i].description);
};
console.log(xiangmu);
});
},
posted @ 2019-09-04 18:25  巴黎爱工作  阅读(443)  评论(0编辑  收藏  举报