• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0014 秒)

1. 构建好android studio项目后,debug出错 [ 100%]

...coped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at eval (native) at Document._downloadOk (apploader.js:6059:20) at a...

来源: Laya_社区 发布时间: 20180724

2. 使用layaide进行打包,提示如下错误。 [ 71%]

...coped declarations (let, const, function, class) not yet supported outside strict mode   网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问应该如何解决这个问题。 2017-06-04 添加...

来源: Laya_社区 发布时间: 20170604

3. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 70%]

...h file as a separate module (similar to 'ts.transpileModule'). */     /* Strict Type-Checking Options */     "strict": true,                           /* Enable all strict type-checking options. */     // "noImplicitAny": true,                 /* Raise error on expressio...

来源: Laya_社区 发布时间: 20190408

4. iOS 真机调试错误 [ 61%]

...出现exception info:[syntaxerror:unexpected use of reserved word 'let' in strictly mode]at line 142,这个js的报错,请教一下这个是什么原因谢谢,直接使用layaIDE构建的工程真机测试报错。求大神指教 附件 : --> 2019-05-21 添加评论 免费帖 --> 分享 微博...

来源: Laya_社区 发布时间: 20190521