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

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

21. 发布之后报错,跨域问题 [ 81%]

...gxiang/Documents/saolei/release/layaweb/v1.0.0/res/atlas/comp.atlas: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. Access to Image at 'file:///Users/dongxiang/Documents/saolei/release/layaweb/v1.0.0/comp/classic_numbers_8.png' from origin...

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

22. 苹果笔记本下Safari中显示一半 [ 79%]

...te; left: 0px; top: 110px; background-color: rgb(255, 237, 118); transform-origin: 0px 0px 0px; transform: matrix(0.5, 0, 0, 0.5, 311, 0);"></canvas> 其他电脑上: <canvas id="layaCanvas" width="760" height="650" style="position: absolute; left: 0px; top: 110px; background: rgb(255,...

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

23. 解决跨域相关! [ 79%]

...里以nginx为例: http {   ......   add_header Access-Control-Allow-Origin *;   add_header Access-Control-Allow-Headers X-Requested-With;   add_header Access-Control-Allow-Methods GET,POST,OPTIONS;   ...... } 这样就可以实现GET,POST,OPTIONS的跨域请求的支持 也可以 add_header ...

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

24. load方法加载cdn上面的图片资源的时候直接报了跨域不同源的问题,怎么破? [ 79%]

...1177394.file.myqcloud.com/beta/book/bookLaya/img/progressBar$bar.png' from origin 'http://bookportal.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bookportal.com' is therefore not allowed access. 2018-02-08 添加...

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

25. Laya3D鼠标检测,3d对象被添加到场景,然后又被移除,还能通过Ray进行碰撞检测么? [ 79%]

...mouseY; ray.direction.x = 0; ray.direction.y = 0; ray.direction.z = 0; ray.origin.x = 0; ray.origin.y = 0; ray.origin.z = 0; handCamera.viewportPointToRay(point, ray); Physics.rayCastAll(ray, outHitAllInfo); var hit:RaycastHit = outHitAllInfo[0]; 一直无法获得正确的点击对象,后来发...

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

26. 射线BUG [ 79%]

...GLContext.LINES, state); //绘出射线 this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); this.phasorSpriter3D.end(); } Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = La...

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

27. 图片加载问题 [ 77%]

...ccess to Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 2017-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

28. HttpRequest问题 [ 77%]

...数据请求,重新修改后也加了header("Access-Control-Allow-Origin: *"),发布后还是这种情况。。重点是我们现在请求的并不是自己的服务器,是请求微信支付接口的。。这种要如何解决啊? qian • 2018-02-08 14:19 你修改后f12打开控...

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

29. post提交问题 [ 77%]

...tpRequest cannot load http://xxx.xxx.xxx/subData. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'file://' is therefore not allowed access. The response had HTTP status code 500. 后台是用c#写的,请问出现这问题怎么解决,提交图片是OK的,...

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

30. 如何加载教程1.7.3beta无效 [ 76%]

...layabox.com/doc/?nav=zh-as-3-1-0 教程提示 : No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 king 赞同来自: ...

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