大约有 1,501 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0143 秒)
...自动转成以下JS并报错Uncaught ReferenceError: int is not defined function DConfig(){}; __class(DConfig,'DConfig'); __getset(1,DConfig,'GamrRoomEnterPower',function(){ return DConfig.gamrRoomEnterPower; },function(value){ DConfig.gamrRoomEnterPower=value; console.log(DConfig.gamrRoomEnterPowe...
来源: Laya_社区 发布时间: 20170731
....event (LayaSample.max.js:1) at new i (LayaSample.max.js:1) at Function.t.regSession (LayaSample.max.js:1) at t.i.initSession (LayaSample.max.js:1) at Function.t.INIT (LayaSample.max.js:1) at i.execute (LayaSample.max.js:1) at Function.t.exeCMD (LayaSample.max.js:...
来源: Laya_社区 发布时间: 20200401
...摇报错,就解决方案 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-01-17 20:13 浏览: 2713 关注: 2 人 sheen • 2018-01-17 20:25 我已经改好了。。忘记之前删了一个模版。。
来源: Laya_社区 发布时间: 20180117
为啥我在批量removeself 会报错卡死 override public function removeSelf():Node { this.scaleX = 1; this.scaleY = 1; this.alpha = 1; this.pos(0,0); this.filters = []; if(selectImg != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; ...
来源: Laya_社区 发布时间: 20171129
...微信小程序时,用微信工具跑,报“TypeError: eval is not a function”, 我看了发布出来的bundle.js,确实有很多eval函数;然后我在微信工具勾了“把JS编译为ES5”后,这时候微信工具上能跑了。 诡异的是:我再把“JS编译为ES5”的勾...
来源: Laya_社区 发布时间: 20250905
... Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){ dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3") })) let mainSound:Laya.SoundChannel = null; this.btn_sound.on(Laya.Event.CLICK,...
来源: Laya_社区 发布时间: 20190716
...码会出现报错,Uncaught TypeError: wx.getFileSystemManager is not a function 附件 : --> 2018-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 156*****180 赞同来自: 主域 Laya.init(true); 子域 La...
来源: Laya_社区 发布时间: 20180616
...ters ctx: any x: number y: number Returns void set_onclick set_onclick(fn: Function): void Defined in laya/utils/IStatRender.ts:26 点击性能统计显示区域的处理函数。 Parameters fn: Function Returns void show show(x?: number, y?: number, views: any): void Defined in laya/utils/IStatRend...
来源: Laya3.0_api 发布时间: 20231102
... */ public static var parseXMLFromString:Function = function(value:String):XmlDom { var rst:*; value = value.replace(/>\s+</g, '><'); __JS__("rst=(new DOMParser()).parseFromString(val...
来源: Laya_社区 发布时间: 20180126
laya2.0 localStorage语法错误 Storage.getItem=function(key){ return Storage.support ? Storage.items.getItem(key):null; } Storage.getJSON=function(key){ return JSON.parse(Storage.support ? Storage.items.getItem(key):null); }?:不是js的写法吧... 2018-11-22 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20181122