李政666 开放数据域报错 就官方的例子 没啥改动导入的资源如下(没有漏吧) 报错如下也有人遇到这个bug------------1------------ 在做微信小游戏排行榜提示wx.getFileSystemManager is not a function - layabox问答社区-HTML5引擎社区-LayaAir开发者社区 https://ask.layabox.com/question/37998?token=20_R1ZlsKmKOVTVk5K_19n57R8hiWTsqSOe82xLBzvsEjuJRcEPLWd-LxILBqQdJGwS9izITXVPhUTSudwaEqCAPA-------------2----------- laya 2.0 微信小游戏排行榜提示wx.getFileSystemManager is not a function - layabox问答社区-HTML5引擎社区-LayaAir开发者社区 https://ask.layabox.com/question/40975---------------3---------- 微信小游戏 子域 getFileSystemManager 问题 - layabox问答社区-HTML5引擎社区-LayaAir开发者社区 https://ask.layabox.com/question/14798
李政666 //主域if(Laya.Browser.onMiniGame){//加载一个json和图集Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){//加载完成//使用接口将图集透传到子域Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口将json投促函到子域 [*][code]Laya.MiniAdpter.sendJsonDataToDataContext("json/reward.json");[/code][/*] [*][code]}));[/code][/*] [*][code]}[/code][/*]