大约有 724 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
import Event = laya.events.Event; 报错 import Event = laya.events.Event; 报错 file: 'file:///e%3A/Web/GameA/client/src/GameMain.ts' severity: '错误' message: 'Import declaration conflicts with local declaration of 'Event'' at: '5,1' source: 'ts' 项目中没有其他地方写这个import, 但...
来源: Laya_社区 发布时间: 20180522
...源加载报错 导出的资源,在加载出错。 package { import com.core.state.StateMachine; import com.gameLogic.GameConfig; import com.gameLogic.gameState.GameLoadingState; import com.gameLogic.gameState.GameMainState; import com.gameLogic.gameState...
来源: Laya_社区 发布时间: 20190416
laya2.0 ts脚本需要 import ** from ** 问题 ts脚本 现在 import ** from 只能用相对路径. 这样文件夹多了. 每次import 头晕. 想改为绝对路径.这样就不要关注各种./../../ 1.我尝试修改 tsconfig.json 里的 "baseUrl" 属性 编辑器不提示错误.但是运行...
来源: Laya_社区 发布时间: 20180920
用npm的protobuf导出的ts代码。然后用import { } from "" 运行到这里没反应,不继续执行,也不报错。 我现在要使用静态js代码来实现proto的编码解码。不讨论直接用.proto的情况。我现在的问题是用导出的.js而不是用.proto的问题。 ...
来源: Laya_社区 发布时间: 20171115
LayaAir 2.6.1 beta, lib 类库中导入的的 js 文件中有 export 和 import 关键字,编译运行之后报错 不支持ES6 ? 如题:LayaAir 2.6.1 beta, lib 类库中导入的的 js 文件中有 export 和 import 关键字,编译运行之后报错 SyntaxError: Unexpected token 'export' ...
来源: Laya_社区 发布时间: 20200430
报错:LayaAir not allow import flash.events.EventDispatcher? 2016-12-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 可以用!除了SDK下的顶级报和数据类型外,其他...
来源: Laya_社区 发布时间: 20161222
[LayaAir3]import Particle2D = Laya.Particle2D;导入报错,是为啥? 附件 : --> 2024-06-05 3 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登录...
来源: Laya_社区 发布时间: 20240605
多个模块之间相互嵌套import,导致运行报错 我分析应该是Animal、Person、Cat、Manager四个模块之间互相有import导致的,但是这在项目开发中基本无法避免啊。。。 请教一下该怎么去解决呢? demo已上传,GameControl.ts中33行导致demo...
来源: Laya_社区 发布时间: 20190226
ts 不支持import LoginView from "../../LoginView" ts不支持路径import吗? import失败还跟index.html的script顺序有关系? index.html的script顺序需要程序手动维护? script顺序有解决的办法吗? 2018-06-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20180622
ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found 环境win10 layaboxide 2.6.0 beta 已经全局安装typescript,命令行 tsc -v,输出Version 3.8.3 nodejs 12.16.1 编译报错: semantic error TS2354: [31mThis syntax requires an imported he...
来源: Laya_社区 发布时间: 20200409