摘要: 1.getDefaultProps 初始化设置props 2.getInitialState 初始化设置state 3.componentWillMount 第一次完成渲染时调用 4.componentDidMount 第一次渲染完成后调用,且仅调用一次,一般用于绑定时间 5.componentWi 阅读全文
posted @ 2016-12-20 18:15 米斯特尔曾 阅读(119) 评论(0) 推荐(0) 编辑