摘要: changeLeader(value){ console.log(value) this.setState({ leader:value },() => { console.log(this.state.leader) }) } value和leader一样 changeLeader(value){ 阅读全文
posted @ 2017-07-20 11:56 LSunshine 阅读(491) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/playboyanta123/article/details/73533079 阅读全文
posted @ 2017-07-17 10:20 LSunshine 阅读(628) 评论(0) 推荐(0) 编辑
摘要: http://react-trello-board.web-pal.com/ https://react-dnd.github.io/react-dnd/docs-tutorial.html https://codepen.io/anon/pen/xrwjyX?editors=1111 阅读全文
posted @ 2017-06-15 16:05 LSunshine 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-06-13 16:44 LSunshine 阅读(79) 评论(0) 推荐(0) 编辑
摘要: https://github.com/dvajs/dva-knowledgemap https://github.com/sorrycc/blog/issues/18 阅读全文
posted @ 2017-03-14 10:39 LSunshine 阅读(182) 评论(0) 推荐(0) 编辑
摘要: ES6:1、导入模块 a、 import ‘模块文件地址’ b、import 组件 from ‘模块文件地址’ 2、导出模块 export default ....... 阅读全文
posted @ 2017-03-14 10:36 LSunshine 阅读(102) 评论(0) 推荐(0) 编辑