大约有 2 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0014 秒)
...DataList:KV 数据列表 * success:接口调用成功的回调函数 * fail:接口调用失败的回调函数 * complete:接口调用结束的回调函数(调用成功、失败都会执行) */ //@ts-ignore wx.setUserCloudStorage({ KVDataList: KVDataList, success: () => { console.log("...
来源: Laya3.0_文档 发布时间: 20251010
...实现 worker.postMessage({ errCode:0, data:res, readyUrl:data.url }); }, fail:function(res){ console.log("worker downloadfile url:" + data.url); res.type = "Image"; worker.postMessage({ errCode:1, data:res, readyUrl:data.url }); } }); }); 上面代码中,onMessage用来接收从引擎层MiniW...
来源: Laya3.0_文档 发布时间: 20251010