个人笔记
.
是因为 返回的数据需要 加上key
如下
const data=[{ key:'1', name:'John Brown', age:32, address:'New York No. 1 Lake Park',},
{ key:'2', name:'Jim Green', age:42, address:'London No. 1 Lake Park',},
{ key:'3', name:'Joe Black', age:32, address:'Sidney No. 1 Lake Park',}];