去掉ng-repeat產生的$$hashkey和object

在ng-repeat時候加上track by $index 就行了html <div ng-repeat="x in shops track by $index"> {{$index}} </div>
相關文章
相關標籤/搜索