ng-repeat="item in list track by $index" Can solve your problem
ID重复就会报这个,就相当于遍历不知道要哪一个元素,加上track by $index就好了
比如说你的数据源是[1,1,1]不加上track by $index就会报错了
谢谢大家的 回答 我已经找到问题的原因 并且 已经解决了 非常感谢各位的支持!!!