react state
摘要:
React 的 state 1.初始化 state onstructor(props) { super(props) this.onClickButton = this.onClickButton.bind(this); this.state = { count: props.initValue | 阅读全文
posted @ 2018-05-21 11:43
南果梨
阅读(133)
评论(0)
推荐(0)
浙公网安备 33010602011771号