📅  最后修改于: 2022-03-11 15:03:16.293000             🧑  作者: Mango
const response = forkJoin([
this.service.getUserByFirstName(this.firstName),
this.service.getUserByLastName(this.lastName)
]);
response.subscribe(
([firstNameUsers, lastNameUsers]) => this.users = lodash.intersectionWith(firstNameUsers, lastNameUsers, lodash.isEqual)
);