【发布时间】:2017-12-03 02:06:53
【问题描述】:
以下列表要在下拉列表中绑定条件type="0"
$scope.ListPrintDestination = [{ id: "0", Name: "Printer",Type:"0" }, { id: "1", Name: "Windows" ,Type:"0"}, { id: "2", Name: "No Print" ,Type:"1"}];
那么如何修改下面的代码
<select ng-model="num" ng-options="lst as lst.AcNo for lst in lstPrint track by lst.AcNo">
<option selected="selected">select</option>
</select>
【问题讨论】:
标签: javascript jquery angularjs asp.net-mvc