How can I mutate the array?
Closed this issue · 2 comments
victorpavlenko commented
userList: [ ${data.user.map((a) =>
{+ a.value +
})} ]
Also in a.value contained object
In the end, I want to get something like this
userList: [{ name: "1111", surname: "11111" },{ name: "1111", surname: "11111" }]
MQuy commented
@Xurma2, do you find a solution for this?
victorpavlenko commented
@MQuy no i dont understand how mutate if I have array
imageList: [{
fileName: $fileName",
url: $url,
uuid: $uuid,
deleteImage: $deleteImage,
setMain: $setMain,
}]