Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

接口调用超时 #20

Open
niutouren747 opened this issue Jan 9, 2024 · 4 comments
Open

接口调用超时 #20

niutouren747 opened this issue Jan 9, 2024 · 4 comments

Comments

@niutouren747
Copy link

如图注册函数,调用接口,JS正常执行,接口返回超时;这是什么原因?
图片
图片

@KingJem
Copy link

KingJem commented Mar 8, 2024

Hlclient.prototype.handlerRequest = async function (requestJson) {
    var _this = this;
    var result = JSON.parse(await requestJson.text());
    if (!result['action']) {
        this.sendResult('', 'need request param {action}');
        return
    }}

handlerRequest 的回调函数改为异步就行了 requestJson 为blog 对象而不是string 版本用的v1.0.2,其他地方看着改就行了

@bboysteed
Copy link

一样的问题

@skr-rks
Copy link

skr-rks commented Jul 31, 2024

我也遇到这个问题了,把浏览器的断点关了就好了

@Ph03n1xRt
Copy link

同样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants