📅  最后修改于: 2022-03-11 15:02:41.803000             🧑  作者: Mango
const api = { 'foo': 'bar', 'foz': 'baz'};
...
render() {
return (
Object.entries(api).map(([key, value]) => {
return {value}
});
)
}