let Ids = this.houseList.map(item => item.houseId);
let arr = new Array();
this.projectOptions.forEach((item, index) => {
if (!Ids.includes(item.id)) {
arr.push(item);
}
});
this.projectOptions = arr;
使用 .map 和 .includes 配合使用