标签: reactjs flow
一条私人路线有效,但是流程报告道具中有错误,但是我没有在路线中声明这些道具。
在PrivateRoute调用的组件中的所有功能上均失败:
无法创建router.get (or another method)元素,因为道具[1]中缺少属性Component,但在handleClick [2]中存在。
router.get (or another method)
Component
handleClick
无法创建Props元素,因为道具[1]中缺少属性Component,但在handleSelected [2]中存在。
Props
handleSelected