机场数据、下拉框数据绑定值

This commit is contained in:
714943302@qq.com
2018-11-23 17:58:45 +08:00
parent 52b316a230
commit 1f020ee82e
11 changed files with 65 additions and 12 deletions
@@ -35,15 +35,13 @@
<label for="">洲/地区:&nbsp;&nbsp;</label>
<select class="form-control">
<option value=""></option>
<option value="GH">非洲</option>
<option value="CH">亚洲</option>
</select>
</div>
<div class="input-container mr-4">
<label for="countryId">国家:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.countryId" (ngModelChange)="selectChange()" id="citry">
<option value=""></option>
<option *ngFor="let item of citys" [value]="item.cityId">{{item.countryId}}</option>
<option *ngFor="let item of citys" [value]="item.countryId">{{item.countryId}}</option>
<!-- <option value="ZG">中国</option>
<option value="MG">美国</option>
<option value="YG">英国</option> -->