大约有 204 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0035 秒)
...缩PNG报错 报错内容:Encoding error 82: color conversion to palette requested while a color isn't in palette 截图如下: 查找原因,有几张图片会触发这个报错。 谷歌过,说把optipng改true,然后zopflipng改为false,应该时压缩方式变化,在发布时报错...
来源: Laya_社区 发布时间: 20190819
... 然后 //暴露一下 window.Pako = require('./pako_inflate.min.js'); wx.request({ url: '请求地址', responseType: 'arraybuffer', success(res) { console.log(fromCharCode(Pako.inflate(new Uint8Array(res.data)))); } }); //处理中文 function decodeUTF8(arr,toType) { //转...
来源: Laya_社区 发布时间: 20191211
...真机调试报错 VM128:1 gameThirdScriptError self is not defined;at api request success callback function ReferenceError: self is not defined at new s (game.js:6:16022) at (../../src/script/GameUI.js:10:1) at (../../src/script/GameUI.js:10:1) at (../../src/script/GameUI.js:10:1) at at (game...
来源: Laya_社区 发布时间: 20191030
...有多个声音播放时,清除时可能导致报错 by hhm-shy · Pull Request #1128 · layabox/LayaAir (github.com)[/url][/i] 附件 : --> Test.rar 2023-07-27 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya...
来源: Laya_社区 发布时间: 20230727
...但是不通过ide调试而是直接在浏览器里面打开index.html,request method变为options 而不是代码里面的post方式,必须要把chrome的user-data-dir 指向.laya/chrome 目录才能正常访问,这个是因为什么呢? 2018-05-15 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20180515
...示 : from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 我也根据提示退出chrome进程启动了,没用啊。。。求你们用mac多搞搞..希望哪位有经验教育一下...
来源: Laya_社区 发布时间: 20191113
...音效资源都能通过onMessage收到,请问这是什么原因啊? Request failed Status:404 text:undefined 游戏运行一会出现 getAMesh resizeBuffer Array buffer allocation failed /clang:-1: linker command failed with exit code 1 (use -v to see invocation) websocket connection failed: In...
来源: Laya_社区 发布时间: 20170120
...13:1 gameThirdScriptError "Can not find scene:test/TestScene.scene";at api request fail callback function String 麻烦帮忙看看 附件 : --> testWxCacheFile.zip 2020-02-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20200218
...头像缓存到自己的服务器在转发到客户端. 我尝试使用HttpRequest的方式请求数据绕过跨域, 代码如下, 经测可用// 头像缓存 var headCache = {}; /** * 微信头像获取器 * @param {头像Url} headUrl * @param {显示头像Img} showImg */ function getWXHead(headUrl...
来源: Laya_社区 发布时间: 20190430
.../suteam/Documents/demoBojue_Laya/bin/h5/other/spine/kente.sk: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 2018-01-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180111