问题描述
我想在我的网站上集成recaptcha v2。我正在使用Angular7。在localhost中,它运行良好,但是在生产模式下,我遇到了一个错误,该错误困扰了大约一个星期,但找不到任何解决方案。
错误来自html
,需要添加以重新验证:
recaptcha
复选框无法显示。
app.component.html
<re-captcha (resolved)="resolved($event)" size="normal" siteKey="*****"></re-captcha>
app.component.ts
resolved($event: string) {
console.log($event);
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)