在使用 ng-repeat 的时候,遇到如上问题,解决办法
http://www.anujgakhar.com/2013/06/15/duplicates-in-a-repeater-are-not-allowed-in-angularjs/
ng-repeat = "item in items track by $index"
时间: 2024-10-17 13:57:26
在使用 ng-repeat 的时候,遇到如上问题,解决办法
http://www.anujgakhar.com/2013/06/15/duplicates-in-a-repeater-are-not-allowed-in-angularjs/
ng-repeat = "item in items track by $index"