大约有 2 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0014 秒)
...eclare var downloadBigFile:(url:string, local:string, onprog:(total:number,now:number,speed:number)=>boolean,oncomp:(curlret:number, httpret:number)=>void, trynum:number, opttimeout:number)=>void; 处理zip文件的ZipFile类。 interface ZipFile{ /** * 注意这个文件不要太大,因...
来源: Laya3.0_文档 发布时间: 20241024
...new Promise((resolve,reject)=>{ downloadBigFile(url, localfile, (total, now, speed) => { console.log(`downloading:${Math.floor((now / total) * 100)}`) return false;0 }, (curlret, httpret) => { if (curlret != 0 || httpret < 200 || httpret >= 300) { resolve(null); } else { resolve(local...
来源: Laya3.0_文档 发布时间: 20241024