redux如何修改數(shù)組的某一項(xiàng)
redux如何修改數(shù)組的某一項(xiàng)?
慕婉清6462132
2018-12-20 19:19:08
TA貢獻(xiàn)1831條經(jīng)驗(yàn) 獲得超10個(gè)贊
componentDidMount() {
console.log('22',ReactDOM.findDOMNode(this.refs.mode))
console.log('22',ReactDOM.findDOMNode(this.refs.mode1))
}
<Modal title="Basic Modal" visible={true} ref="modal"
onOk={this.del} onCancel={this.del}
><div ref="modal1">
<p >some contents...</p>
<p>some contents...</p>
<p>some contents...</p>
</div>
</Modal>
舉報(bào)