我想通过ui-select显示如下所示的员工子女 (https://angular-ui.github.io/ui-select/)
Adam.Peter,Adam.Cristina,Amalie.Jack,Estefanía.Clara,Estefanía.Clark
我的json对象如下:
[{ name: 'Adam', email: 'adam@email.com', age: 12, country:'United States',
child:[{name:'Peter'}, {name:'Cristina'}] },
{ name: 'Amalie', email: 'amalie@email.com',age: 12, country:'Argentina',
child:[{name:'Jack'}] },
{ name: 'Estefanía', email:'estefania@email.com', age: 21, country:'Argentina',child:[{name:'Clara'}, {name:'Clark'}]}]
是否可以放置此JSON对象中的选项,还是应该修改和更新我的对象以显示类似的选项