摘要:
1.Ajax: componentDidMount 方法设置 Ajax 请求,等到请求成功,再用 this.setState 方法重新渲染 UI。/*demo1*/var Demo1Box=React.createClass({ getInitialState:function(){ ret... 阅读全文
posted @ 2015-12-02 11:54
jsCoder_洋洋
阅读(450)
评论(0)
推荐(0)
浙公网安备 33010602011771号