当你在ng-repeat之后再使用一次会出现这样的报错
[ngRepeat:dupes] Duplicates in a repeater are not allowed.
<div ng-repeat="item in allComment">
<div ng-repeat = "src in item.photoSrc ">
![]({{src}})
</div>
</div>
解决办法 加上track by $index
<div ng-repeat="item in allComment">
<div ng-repeat = "src in item.photoSrc track by $index ">
![]({{src}})
</div>
</div>