angular2的http請求返回結果的subcribe注意事項

this.monitorSer.getVehicleLonAndLat(vehicleIds)   .subscribe(     data => {       //將data下的data字符串轉化爲vehdata數組       this.vehData=JSON.parse(data.data);       //功能實現       this.loadOverLay();     },  
相關文章
相關標籤/搜索