sách gpt4 ai đã đi

javascript - 内部 ng-repeat 内部 ng-repeat

In lại 作者:行者123 更新时间:2023-11-28 15:31:38 28 4
mua khóa gpt4 Nike

我想问如何在外部 ng-repeat 内部正确使用内部 ng-repeat:

这意味着你想使用这样的东西:

  
{{milestone.id}}
{{milestone.milestoneTemplate.name}}
{{milestone.actual}}
{{milestone.estimate}}


{{milestoneTemplate.warningAttributes.id}}



{{ 'remove' | translate }}

感谢您的建议。

1 Câu trả lời

由于 milestone 已经在顶部循环中迭代 order.milestones,只需执行以下操作:

ng-repeat="milestone in order.milestones"
ng-repeat="milestoneTemplate in milestone.milestoneTemplate"

关于javascript - 内部 ng-repeat 内部 ng-repeat,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27131333/

28 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com