http.request闪退
let url = "https://v.douyin.com/epabcWA/";let params = {
"url": url
};
let x = http.request(params);
if (x) {
logd("header=" + x.header);
} else {
loge("无结果");
}
一运行调试版就闪退了,是用法的问题吗开发插件是6.4脱机调试版本是1.6
http.request({
url: "xxx",
method: "GET",
timeout: 10 * 1000
})
页:
[1]