ng-repeat="certification in product.certifications track by $index"
ng-repeat="standards in certification.standards track by $index"
这两个$index都需要定位到。
ng-repeat="standards in certification.standards track by $index"
这两个$index都需要定位到。
1
L42y Dec 12, 2014 用 `ngRepeat`: https://docs.angularjs.org/api/ng/directive/ngInit
The only appropriate use of ngInit is for aliasing special properties of ngRepeat |
2
L42y Dec 12, 2014 不好意思,应该是用 ngInit
|
3
AlanZhang OP 非常感谢。 就是这个。
|