Warning: Each child in a list should have a unique "key" prop.
根据warning定位找到425行的button,给它添加key值
Warning: Each child in an array or iterator should have a unique "key" prop.
主要出现在react的map回调时,添加“key”即可
this.state.array.map((el,index)=>{
return(
<div key={index} >el.name</div>
)
})