摘要: constructor(props) 在创建组件实例的时候调用一次。 componentWillMount() It is called before render(), therefore setting state synchronously in this method will not tr 阅读全文
posted @ 2017-08-26 20:30 开发之路 阅读(571) 评论(0) 推荐(0) 编辑