摘要: 1 <script type="text/babel"> 2 3 function Son(props){ 4 return ( 5 <div> 6 { 7 props.children 8 } 9 </div> 10 ) 11 } 12 function Abox(){ 13 return ( 1 阅读全文
posted @ 2019-12-30 11:35 帅气的骑士 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1 <script type="text/babel"> 2 class Abox extends React.Component{ 3 constructor(props) { 4 super(props); 5 6 } 7 render() { 8 return ( 9 <div classNa 阅读全文
posted @ 2019-12-30 11:29 帅气的骑士 阅读(2534) 评论(0) 推荐(0) 编辑