01 2017 档案

react 函数参数的传递
摘要:js中函数参数的传递形式较为简单 function show(s){ console.log(s); } show(''hello); 就会输出hello. 在react JSX中函数参数的传递需要用到 bind 这里有个例子可以作为参考 http://www.jianshu.com/p/d7455 阅读全文

posted @ 2017-01-20 12:22 思此狂 阅读(7803) 评论(0) 推荐(0)

导航