📅  最后修改于: 2022-03-11 15:01:41.205000             🧑  作者: Mango
render() {
const data =[{"name":"test1"},{"name":"test2"}];
const listItems = data.map((d) => {d.name} );
return (
{listItems }
);
}