【发布时间】:2016-10-16 06:10:21
【问题描述】:
我有一个选择列表。
<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
【问题讨论】:
标签: angularjs angularjs-track-by