React async request data insert drop-down box

the following data is pulled out of the interface (the data format is as follows), but the data in the "purpose" filter is also pulled out twice. How to insert the data pulled by the "purpose" into the
1. The first layer of data is rendered by this filter maniac
2. Insert the data request of the url interface into the current filter box
clipboard.png

if you have the data request in url in the filter box.
[
{
    type:"select" //select
    name:"",
    data:[
    {
        value:"suv",
        name:"suv"
    },
    {
        value:"",
        name:"middle"
    }
]
},{
    type:"select"//
    name:"use",
    label:""
    url:"xxx.xxx.xxx"  //
},
{
    type:"select"//
    name:"",
    url:"xxx.xxx.xxx"  //
},
]

put the data into the data group:
push ()
concat ()
splice ()
unshift ()


show me

Menu