2018年5月21日

react 子组件访问父组件的方法

摘要: 1. 回调函数(推荐) 地址:https://ourcodeworld.com/articles/read/409/how to update parent state from child component in react 1. 获得父组件的实例(不推荐) 地址:https://stackov 阅读全文

posted @ 2018-05-21 17:58 cag2050 阅读(321) 评论(0) 推荐(0) 编辑

导航