📅  最后修改于: 2022-03-11 14:46:12.342000             🧑  作者: Mango
let found_user = response.data.find(acc=>{ //found_user is always undefined
return acc.username == user_to_find;
})
let found_user = response.data.find(acc=> ( //found_user is always undefined
acc.username === user_to_find;
))