{ "id": "c1", "imageUrl": "xxx.png", "name": "牛投网", "industry": "移动互联网", "state": "A轮", "people": "50-150人", "positionClass": [ { "id": "jishu", "name": "技术", "positionList": [ { "id": "p1", "name": "前端工程师", "createdDate": "2020-04-16 23:30", "salary": "15k-25k" } ] }, { "id": "yunying", "name": "运营", "positionList": [ { "id": "y1", "name": "运营总监", "createdDate": "2021-04-10 13:30", "salary": "25k以上" } ] } ]}现在有如上一段数据,使用Angular的ng-repeat循环到第一层的时候可以,例如:<div ng-repeat="dt in data.positionClass" ng-bind="dt.name"></div>可以循环得到技术、和运营两条数据。现在想再单独写一个div,来循环positionList里面的数据<div ng-repeat="pls in positionList" ng-bind="pls.name"></div>这样怎么取不到值。正确的写法是什么?
添加回答
举报
0/150
提交
取消