我有一个选择列表。
<select id="search.month"
ng-model="search.month"
class="form-control"
ng-options="item as item.name for item in months track by item.id">
</select>
我重置列表
$scope.reset = function () {
$scope.search = {reportType: 0, month: 0, year: 0 };
};
什么都没发生。AngularJS 1.5.8