Open niutouren747 opened 8 months ago
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,其他地方看着改就行了
一样的问题
我也遇到这个问题了,把浏览器的断点关了就好了
如图注册函数,调用接口,JS正常执行,接口返回超时;这是什么原因?