A radio box component, as the official document explains:
the data given to me by the background is an array containing multiple objects
{
id:1,
name:""
},
{
id:2,
name:""
}
the example of the official website is different from the data format given to me by the back end, so how should I render it?