📅  最后修改于: 2022-03-11 14:57:40.959000             🧑  作者: Mango
代码示例1
render() {
const data =[{"name":"test1"},{"name":"test2"}];
const listItems = data.map((d) => {d.name});
return (
{listItems }
);
}