ng-repeat在周遊的過程中會報錯
angularjs[ngRepeat:dupes]
原因是因為周遊的資料中有重複的資料
當gop.pictTypeArr = [1,1,1,12,3,4]
<tr ng-repeat="(x, y) in gop.pictTypeArr">
<td>{{x}}</td>
<td>{{y}}</td>
</tr>
這就會報錯解決辦法是換一個綁定方式
<tr ng-repeat="(x, y) in gop.pictTypeArr track by $index">
<td>{{x}}</td>
<td>{{y}}</td>
</tr>