angular2 select ngFor用法记录

<select class="form-control" [(ngModel)]="itemSelect">
    <option *ngFor="let i of timeDate" value="{{ i.id }}">{{ i.time}}</option>
</select>
相关文章
相关标签/搜索