1.angularjs?项项目?ĿԴ??
angularjs??ĿԴ??
使用group by 去进行分组。这个像sql语句一样的目源码mycred源码
<select ng-model="selected" ng-options="(m.productColor + ' - ' + m.productName) group by m.mainCategory for m in model">
<option value="">-- 请选择 --</option>
</select>
copyright © 2016 powered by 皮皮网 sitemap