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

大约有 20 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)

11. [LayaAir3]我直接将整个项目导出,使用Android Studio打开编译,然后构建运行,连接手机结果打开项目就闪退? [ 77%]

...url += `?${searchParams.toString()}`; } const headers = { "Content-Type": "application/json; charset=utf-8", "X-Access-Token": token, "Accept": "application/json; charset=utf-8" }; const requestOptions = { method: method.toUpperCase(), headers }; if (body && ["POST", "PUT", "PATCH"].indexOf(...

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

12. laya的typescript怎样加library [ 75%]

...["es7", "es6", "es5","dom", "scripthost"]现在一直报错“'../../../../applications/layaairide_beta.app/contents/resources/app/node_modules/typescript/lib/lib.es2015.d.ts' not found.” 2018-12-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

13. 怎么使用http请求 [ 75%]

...ngify(data)); xhr.open("POST", url); xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded'); xhr.send("value=" + baseStr); 这个怎么改成laya的http请求 2018-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

14. laya.net.HttpRequest [ 74%]

...;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 Event Detail complete Event Event Object Type: laya.events.EventEvent.type property = Event.COMPLETE 请求结束后调度。 error Event  Event Object Type: laya.events.EventEvent.type property = Event....

来源: laya_api 发布时间: 20170929

15. laya.net.HttpRequest_API3.0 [ 73%]

...;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 Returns void Globals "laya/net/HttpRequest" HttpRequest data http url event hasListener off offAll offAllCaller on once reset send Legend Object literal Variable Function Type alias Class Class with type ...

来源: Laya3.0_api 发布时间: 20231115

16. laya.net.HttpRequest [ 73%]

...;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 Event Detail complete Event Event Object Type: laya.events.EventEvent.type property = Event.COMPLETE 请求结束后调度。 error Event  Event Object Type: laya.events.EventEvent.type property = Event....

来源: Laya2.0_api 发布时间: 20190513

17. mac上的chrome解决跨域问题(打不开本地文件请求) [ 70%]

...端 2. 输入下面的命令( 需要替换路径中的yourname )open -n /Applications/Google\ Chrome.app/ --args --disable-web-security  --user-data-dir=/Users/yourname/MyChromeDevUserData/ 注意: Mac下可使用命令行打开chrome,记住先关闭当前chrome窗口。 网上有些文章--us...

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

18. LAYABOX游戏实时语音之APP版本 [ 62%]

...mission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"> <activity android:name="demo.MainActivity" android:screenOrientation="landscape" android:windowSoftInputMode="s...

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

19. 网络通信 · LayaAir3文档 · LAYABOX [ 54%]

...;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 */ send(url: string, data: any = null, method: "get" | "post" | "head" = "get", responseType: "text" | "json" | "xml" | "arraybuffer" = "text", headers: any[] | null = null) 2.1.3 支持的事件类型 ...

来源: Laya3.0_文档 发布时间: 20250104

20. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 18%]

...gify(data), URLRequestMethod.POST, URLResponseType.JSON, ["Content-Type", "application/json"]);         }         private completeHandler(e: any): void {             console.log("netconnection complete:", e);             if (e) {                 var adpter: number = e.adp...

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