Has anyone ever used the vonic framework?

A radio box component, as the official document explains:

clipboard.png

clipboard.png

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?


the id given by the background does not need to be used during the display. Just extract the name to form an array, and then select the option that corresponds to the id in the background according to the subscript of value. It is not troublesome to write a little code at the front desk.

Menu