参考连接:https://stackoverflow.com/questions/52486786/forkjoin-is-deprecated-resultselector-is-deprecated-pipe-to-map-instead forkJoin([ this.orderService.getCourseList(), this.orderService.getRoomList(), this.orderService.getExamConfigList() ]).subscribe((res: any) => { if (res.length > 0) { }); // forkJoin([this.orderService.getCourseList(), this.orderService.getRoomList(), this.orderService.getExamConfigList()]).pipe( // map(x => resultSelector(...x)) // )
标签:map,deprecated,getCourseList,orderService,res,forkJoin From: https://www.cnblogs.com/gaosj20210301/p/16915014.html