条件判断 传入index, if(this.state.isshow){ person=( <div> { this.state.persons.map((person,index)=>{ return <Person name={ person.name} age={ person