angular使用ng-option。默认选中列表第一项
<select class="selectUser" name="" ng-model="selectUser" ng-options="s as s.userName for s in sjs track by s.userId">
</select>
<script>
//改变option列表
$.each(data, function(index, content) {
原创
2017-06-28 10:15:22 ·
2438 阅读 ·
0 评论