angular2怎样根据接口获取的值来选中input和select_百度知道
最佳答案: app.html <select [(ngModel)]="comId"> <option [value]="c.id" *ngFor="let c of comIdList">{{c.name}}</option> </select> <div> ...更多关于angular2怎样根据接口获取的值来选中i
angular2怎样根据接口获取的值来选中input和select_百度知道
最佳答案: app.html <select [(ngModel)]="comId"> <option [value]="c.id" *ngFor="let c of comIdList">{{c.name}}</option> </select> <div> ...更多关于angular2怎样根据接口获取的值来选中i