大约有 232 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
... 非常感谢 有品青年 • 2018-10-11 10:45 你好,我运行是提示require is not define,是咋回事
来源: Laya_社区 发布时间: 20180209
... Laya_Aaron 赞同来自: 两个问题 1是 game.js 里面第二行 改 require("./code.js"); 还有一个问题是你有读取什么本地文件 不是ascii 编码吗,小游戏本地文件要ascii编码 之前提到每个游戏有4M本地物理存储空间,这里需要特别注意的...
来源: Laya_社区 发布时间: 20180228
...eceive an expedited review until the investigation is completed. We do not require any additional information from you at this time, nor do we have any additional details to share. We appreciate your continued patience during our investigation. Best regards, App Store Review 2019-11-08 添加评论 ...
来源: Laya_社区 发布时间: 20191108
...应的类,你才能调用它。(看js文件源码的类结构部分,require的顺序,也就是对应import form的顺序是优先于类的声明的) 大概解决方法,砍掉循环,1和2,2和3,3和4之间,随便断开一个关联,使循环不成立即可。。 2018-11-17 0 2 分...
来源: Laya_社区 发布时间: 20181116
...oto: conf_game, _callBack: null, _proxy: Proxy, _data: null…} TypeError: require is not a function at Object.ProtoBuf.Util.Util.fetch (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:354:26) at Object.ProtoBuf.loadProtoFile (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:5150:...
来源: Laya_社区 发布时间: 20170117
...ackage:app.json 05-16 15:59:50.206 7562-7605/com.dihong.testdcc I/LayaBox: require(/sdcard/layabox/scripts/scripts/index.js) 05-16 15:59:50.206 7562-7605/com.dihong.testdcc I/LayaBox: require(/sdcard/layabox/scripts/index.js) 05-16 15:59:50.207 7562-7605/com.dihong.testdcc I/LayaBox: found the file ...
来源: Laya_社区 发布时间: 20190516
... 目录下一直有tslib模块,但是编译还是会报 “This syntax requires an imported helper but module 'tslib' cannot be found”错误,不管noEmitHelpers是不是=false。(两天了,我实在找不到方法了,才@你,大佬) 2020-03-10 0 2 分享 微博 QZONE 微信 flys 赞同...
来源: Laya_社区 发布时间: 20200309
...创建一个简单的服务器。代码如下: ```javascript var http = require("http"); var sever = http.createServer(function(req,res){ res.end("LayaSample.onComplete()"); }); sever.listen(9090) ``` ```javascript res.end("LayaSample.onComplete()"); ``` 这句话的意思是服务器回传给客...
来源: Laya2.0_文档 发布时间: 20210715
...创建一个简单的服务器。代码如下: ```javascript var http = require("http"); var sever = http.createServer(function(req,res){ res.end("LayaSample.onComplete()"); }); sever.listen(9090) ``` ```javascript res.end("LayaSample.onComplete()"); ``` 这句话的意思是服务器回传给客...
来源: Laya2.0_文档 发布时间: 20210714
...you to update your existing apps as soon as possible. If your existing app requires more time to implement the guidelines, we've provided an additional six months, until March 3, 2020, to bring it into compliance. 2019-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20190909