Parsing/binding JSon file into Table using Angular

后端 未结 1 1997
失恋的感觉
失恋的感觉 2021-01-26 05:39

How can I bind Place And Activity under Json? I do parse Event and AccountShop using table and it runs. I think its because of the delimiter in Place and Activiy? Can anyone hel

1条回答
  •  余生分开走
    2021-01-26 06:15

     
        {{member.Event.id}}
        {{member.Event.account_id}}
        {{member.Event.ishop_id}}
       {{member.AccountShop.id}}
        
    

    You don't need to iterate through Event, Account, Place , because they are single entities. Instead of this iterate over members. So you can get Event and it's own properties, AccountShop and it's properties and etc...

    0 讨论(0)
提交回复
热议问题