我在试着找出我在这里做错了什么。由于某些原因,angular会构建10次div结构,因为$scope.aggregators中有10个条目。然而,它根本没有构建TR结构吗?
<div class="info-pane" ng-controller="CatalogCtrl">
<table id="records">
<thead>
<tr>
<th><span>Vendor Code</span></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="aggregator in aggregators}">
<td>{{aggregator.vendor_code}}</td>
</tr>
</tbody>
</table>
<div ng-repeat="aggregator in aggregators">
</div>
发布于 2017-05-24 01:58:58
remove } from ng-repeat=“聚合器中的聚合器}”
https://stackoverflow.com/questions/44141864
复制相似问题