NatChen

Once you have chosen the road of life, you have to be brave enough to go to the end and never look back.

摘要: 1.this问题对应写法 1) this.handleChange = this.handleChange.bind(this) //如果不写这个,必须要用箭头函数handleChange(e) { this.setState({temperature: e.target.value});} thi 阅读全文
posted @ 2018-12-18 11:46 NatChen 阅读(5461) 评论(0) 推荐(3)