初始化开始 getDefaultProps 获取初始参数,全局使用一次 获取初始状态:getLnitialState 调用componenwillMount 通知组件的创建者,要开始渲染了 调用render 方法 进行渲染 componentDidMount