original data format:
[
{
name:,
code:admin
},
{
name:,
code:user
},
{
name:,
code:super
}
]
some result values can be obtained after filtering
["",""]
but at present, the parameter that is modified and passed to the backend needs to be in the form of code, that is, the result value of "admin,user". How to write loop traversal here