摘要: 首先写 2 个组件,打印一下他们的属性: const TextFunc = (props) => { console.log('render TextFunc',props) return <div>function</div> } class TextComponent extends React 阅读全文
posted @ 2020-06-01 15:45 Grewer 阅读(864) 评论(0) 推荐(0) 编辑