The id in the option from repeat is bound to the ngmodel of select in the form of an array. How to bind...
伊谢尔伦2017-05-15 17:04:40
select
的ngModel
can be bound to an array. For details, you can take a look at Hacking with Angular: Play with the 7, 8, and 9 examples in the ngOptions directive; it should be able to help you.