基本调用,得到name 属性
<select ng-model="target" ng-options="obj.name as obj.name for obj in [{ name: 'a', id: 1 }, { name: 'b', id: 2 }]"></select>
2024-03-15 10:31:53
基本调用,得到name 属性
<select ng-model="target" ng-options="obj.name as obj.name for obj in [{ name: 'a', id: 1 }, { name: 'b', id: 2 }]"></select>