Typescript Youtube API返回2个请求

Typescript Youtube API返回2个请求,typescript,youtube-api,ionic3,youtube-data-api,Typescript,Youtube Api,Ionic3,Youtube Data Api,我正在尝试从一个有youtube api v3和typescript的频道获取最新视频。。。 但是为什么它返回2个请求呢 getVideosList() { return this.http.get('https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=' + this.channelId + '&fields=items/id/videoId,items/snippet/publishedAt,

我正在尝试从一个有youtube api v3和typescript的频道获取最新视频。。。 但是为什么它返回2个请求呢

getVideosList() {
return this.http.get('https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=' + this.channelId + '&fields=items/id/videoId,items/snippet/publishedAt,items/snippet/title,items/snippet/thumbnails/high/url&maxResults=20&order=date&type=video&key='+ this.apiKey)
.map((res) => {
  return res.json()['items'];
});
}


我认为您没有显示代码的相关部分。我认为您没有显示代码的相关部分。