[]微信小游戏在真机上网络动态加载资源的问题
在真机上打开小游戏只有在调试开启的状态下会从网络加载
加载用的是这样的方式
Laya.URL.rootPath = Laya.URL.basePath = "";
//加载图集
Laya.loader.load([
{url:"res/atlas/comp.atlas", type: Laya.Loader.ATLAS},
], new Laya.Handler(this, this.onLoad));
版本是1.7.19
加载用的是这样的方式
Laya.URL.rootPath = Laya.URL.basePath = "";
//加载图集
Laya.loader.load([
{url:"res/atlas/comp.atlas", type: Laya.Loader.ATLAS},
], new Laya.Handler(this, this.onLoad));
版本是1.7.19
没有找到相关结果
已邀请:
1 个回复
callback
赞同来自:
如果设置过了还不行就是服务器配置的问题
具体要看 微信的文档 https://developers.weixin.qq.c ... .html
或者你后端的配置木有设置好(TLS 必须支持 1.2 )