react.js中模拟事件总线,子组件调用父组件时,发挥作用

参考:

https://blog.csdn.net/qq_43634982/article/details/106134279?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

https://blog.csdn.net/qq_41287423/article/details/85330113

 

 

 

posted on 2020-06-30 17:02  绿色袋子  阅读(164)  评论(0编辑  收藏  举报