如何等待turnstile.execute完成?

问题描述 投票:0回答:1

我正在尝试使用 execution 选项记录的 Cloudflare 旋转门。我在按下按钮后调用的异步函数中调用

turnstile.execute
,但该函数似乎没有等待挑战完成后再继续。有没有办法可以
await
或类似的
turnstile.execute
,以便我能够在稍后的函数中使用
callback
中的令牌?
    

javascript angularjs cloudflare cloudflare-turnstile
1个回答
0
投票

© www.soinside.com 2019 - 2024. All rights reserved.