大约有 37 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0038 秒)
自定义组件导入下载组件库报错 TypeScript error: libs/layaeditor.d.ts(1106,37): Error TS2551: Property 'Component' does not exist on type 'typeof ui'. Did you mean 'UIComponent'? 2019-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20190412
...nk\myLaya\.laya\compile.js [17:46:10] Starting 'compile'... 出错了: TypeScript error: node_modules/@types/node/index.d.ts(54,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found. 附件 : --> 2019-07-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20190724
...aceDir = argv.split("=")[1].replace("/.laya/compile.js", ""); } }2、修改typescript编译配置 typescript({ cacheRoot:workSpaceDir + "/.rpt2_cache", tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOpt...
来源: Laya_社区 发布时间: 20200607
...现错误: Error processing launch: Error Could not attach to main target TypeScript下HttpRequest发送Post请求有Bug? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to sta...
来源: Laya_社区 发布时间: 20191009
...了debugtool.js 然后文档里写了Laya.DebugPanel.init(); 编译报错 TypeScript error: src/start.ts(6,14): Error TS2339: Property 'DebugPanel' does not exist on type 'typeof Laya'. 表示很无奈。也检查过了libs文件夹 里面也有js文件,但是就是编译不过去。 我还需...
来源: Laya_社区 发布时间: 20181106
...使用。 新建一个js文件,放到index.html中。代码如下: ```typescript var myWorker = new Worker("my_task.js"); myWorker.onmessage = function (oEvent) { console.log("Called back by the worker!\n"); }; myWorker.postMessage("start"); // start the worker. ``` 新建一个my_task.js文件...
来源: Laya2.0_文档 发布时间: 20210715
...的好像不是一样的。。 。有没有解决办法呢? 出错了: TypeScript error: libs/layaeditor.d.ts(1106,37): Error TS2551: Property 'Component' does not exist on type 'typeof ui'. Did you mean 'UIComponent'? 2018-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20181011
...统:win10 x64 laya IDE版本:1.7.20.1beta laya 引擎:1.7.20.1beta TypeScript类型 微信开发者工具版本:v1.02.1808101 以上。 症状截图: 附件 : --> 2018-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180829
...的引入改成相对路劲,就报其他的路径找不到。 出错了: TypeScript error: node_modules/@types/node/index.d.ts(50,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found. 请问要怎么设置,怎么放各种文件,才能把这个node_modules下的第三方...
来源: Laya_社区 发布时间: 20190227
...戏 TS 使用 downLoadFile 出现报错 引擎版本 1.7.18 开发语言:TypeScript使用 TS 开发,添加微信适配库之后,只有 Laya.MiniAdpter.init() 能使用,而文档上关于微信缓存管理的 downLoadFile 等不能使用。 在 LayaAir.d.ts 中的 MiniAdpter 添加 static dow...
来源: Laya_社区 发布时间: 20180605