<nz-select nzShowSearch (ngModelChange)="selHouseType($event)" [(ngModel)]="type" >
<nz-option *ngFor="let item of typeList" [nzLabel]="item.name" [nzValue]="item.id">
</nz-option>
</nz-select>
xxx.component.js
public type: any = 0;
public typeList = [ ];
selHouseType(e) {
this.type = e
this.api.get('---').then(res => {
this.typeList = res.list
})
console.log(this.type)
}