📅  最后修改于: 2022-03-11 15:04:24.755000             🧑  作者: Mango
The .map function is only available on array.
It looks like data isn't in the format you are expecting it to be
(it is {} but you are expecting []).