const target = [{
"title": "",
"value": "",
"children": [{
"title": "",
"value": "361,123",
"children": null
},
{
"title": "",
"value": "361,123",
"children": null
},
{
"title": "",
"value": "361,123",
"children": null
},
{
"title": "",
"value": "361,123",
"children": [{
"title": "",
"value": "361,123",
"children": null
},
{
"title": "",
"value": "361,123",
"children": null
}
]
}
]
},
{
"title": "",
"value": "",
"children": null
}
]
has the following data structure, how to change the title into name, how to use recursive writing can not come around, please expert advice.