class CompanyDetailView extends React.Component { const data = this.props.navigation.getParam使用jest,我得到了这个错误TypeError: Cannot read property 'getParam' of undefined,它指向这行const data = this.props.navigation.getParam我认为,只要为我的屏
当您在最后一个屏幕上确认导航到仪表板(列出了所有对象的)触发器的函数时,它会去它需要去的地方,但是在检索构造函数中的参数时,它们作为null返回,即使通过调试器,我可以清楚地看到,这个支柱成功地传递给了导航函数JSON.stringify(error)) });
openDashboardHouses函数只是要导航的一行代码house: ho