且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

访问嵌套的"foreach"中的外循环属性

更新时间:2022-02-26 21:59:19

您可以使用$parent向***问一个作用域级别.因此,从内部循环中,您可以使用parent来访问在graduationDateRows

You can use $parent to access one scope level up. So, from your inner loop you can use parent to access the current item being looped on in your graduationDateRows