[LayaAir 2.0]微信小游戏加了子域报错
WAGameSubContext.js:1 Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined
at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:682)
at Function.MiniAdpter.init (laya.wxmini.js:92)
at Function.MiniAdpter.enable (laya.wxmini.js:78)
at Function.Browser.__init__ (laya.core.js:4135)
at Object.Laya.init (laya.core.js:252)
at new Main (Main.ts:6)
at Object.2../GameConfig (Main.ts:37)
at o (_prelude.js:11)
at r (_prelude.js:11)
at _prelude.js:11
laya2.0版本微信开发者工具上报错,大佬帮忙解决下
at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:682)
at Function.MiniAdpter.init (laya.wxmini.js:92)
at Function.MiniAdpter.enable (laya.wxmini.js:78)
at Function.Browser.__init__ (laya.core.js:4135)
at Object.Laya.init (laya.core.js:252)
at new Main (Main.ts:6)
at Object.2../GameConfig (Main.ts:37)
at o (_prelude.js:11)
at r (_prelude.js:11)
at _prelude.js:11
laya2.0版本微信开发者工具上报错,大佬帮忙解决下
没有找到相关结果
已邀请:
1 个回复
。
赞同来自:
我看别人说子域加一行这个,我加了还是报错