我正在创建一个带有function的简单计算器,并且我试图向一个按钮中添加一个onClick函数。(react-dom.development.js:306) at executeDispatchesInOrder(react-dom.development.js:414)
at executeDispatchesAndRelease (react
-- radio_click.html Creates five radio buttons that call theradio_click.html</title> <script type="text/javascript" src="radio_click.js-- script for registe
我只想在子级中使用onClick调用函数searchCompany。任何建议都是值得感谢的。错误是: CompanyFinancials.js:62 Uncaught TypeError: this.props.searchCompany is not a functionat react-dom.development.js:8508
at batchedEventUpdates$1