angular2的http请求返回结果的subcribe注意事项

this.monitorSer.getVehicleLonAndLat(vehicleIds)   .subscribe(     data => {       //将data下的data字符串转化为vehdata数组       this.vehData=JSON.parse(data.data);       //功能实现       this.loadOverLay();     },  
相关文章
相关标签/搜索