使用 react hcaptcha npm 包时,我遇到Uncaught (in promise) TypeError: originalExecuteFunc is not a function
了很多错误。我不知道为什么会这样,也不知道发生了什么。
我猜这是对抛出该错误的包的更新。
当我运行captchaRef.current.execute();
captchaRef 是给<HCaptcha/>
元素的反应 ref 时,错误就产生了。
如果有任何方法,请告诉我如何解决此错误并避免它。