AngularJs ng-repeat usage two $parent.$index

We often use repeat nesting during development. At this time, if you want to get the subscript of the parent repeat array, you can use $parent.$index

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326642399&siteId=291194637