angularjs Դ?빹??
使用group by 去进行分组。这个像sql语句一样的码构奔剑出鞘指标源码
<select ng-model="selected" ng-options="(m.productColor + ' - ' + m.productName) group by m.mainCategory for m in model">
<option value="">-- 请选择 --</option>
</select>
2024-12-28 18:24
2024-12-28 18:23
2024-12-28 17:32
2024-12-28 17:04
2024-12-28 16:42