摘要: 第一种形式定义 constructor(props) { super(props); this.state = {}; this.textInput = React.createRef(); //看这里 } 绑定 render() { return ( <div> <p>测试原生事件与合成事件的区别 阅读全文
posted @ 2019-11-10 13:30 初心不负 阅读(3445) 评论(0) 推荐(1) 编辑