![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
react
game7752
这个作者很懒,什么都没留下…
展开
-
renderCommnet是什么意思
class CommentList extends React.Component { constructor(props) { super(props); } render() { return <ul> {this.props.comments.map(renderComment)} </ul>; } renderComment(...原创 2018-05-04 12:04:25 · 290 阅读 · 0 评论 -
箭头函数与class函数使用Antd Form组件中 Form.create()的方法
class函数使用Form.create():class CustomizedForm extends React.Component { ...代码 } CustomizedForm = Form.create({})(CustomizedForm);箭头函数使用Form.create():const aaa =(form)=>{ ...代码 } const Aaaa = Form.c...原创 2018-05-07 12:56:32 · 24517 阅读 · 3 评论 -
react炸鸡
箭头函数绑定参数<a onClick={e => onClick(item.id,event)}><a/>html便签属性接参数,用单引号<img src={'http://www.xxx.cn/create?deviceCode='+item+'¬e=&isUseLogo=&width=&height='} alt=""/>dev...原创 2018-04-29 15:46:09 · 139 阅读 · 0 评论