{this.state.data.map((v,idx)=><Item key={idx} v={v} />)} //Item组件render方法 render(){ return <li>{this.props.v} <input type="text"/></li> }.
確定! 回上一頁