【发布时间】:2021-04-09 21:48:24
【问题描述】:
【问题讨论】:
-
我承认我没有使用 react-hook-form,但似乎您将一个裸函数作为未命名的道具传递给该输入。
register的块应该是什么? -
当您在
get.ts中执行console.log(typeof path)时会显示什么?您也可以尝试console.dir(path)获取更多信息。
标签: javascript reactjs react-hooks react-hook-form