[]微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程
Wechat Lib:1.9.98, 2018.4.4 17:39:27
code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ}
VM163:1 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0
console.error @ VM163:1
Browser.__init__ @ code.js:7131
(anonymous) @ code.js:7056
GameEx @ code.js:56322
(anonymous) @ code.js:56681
require @ WAGame.js:3
(anonymous) @ WAGame.js:3
(anonymous) @ game.js? [sm]:2
require @ WAGame.js:3
(anonymous) @ gamePage.html:148
VM163:1 gameThirdScriptError
window.focus is not a function
TypeError: window.focus is not a function
at Function.Browser.__init__ (http://127.0.0.1:61836/game/code.js:7139:21)
at Function._$GET_clientWidth (http://127.0.0.1:61836/game/code.js:7056:11)
at new GameEx (http://127.0.0.1:61836/game/code.js:56322:89)
at http://127.0.0.1:61836/game/code.js:56681:14
at require (http://127.0.0.1:61836/game/__ ... :13675)
at http://127.0.0.1:61836/game/__ ... 13424
at http://127.0.0.1:61836/game/game.js:4:1
at require (http://127.0.0.1:61836/game/__ ... :13675)
at http://127.0.0.1:61836/game/gamePage.html:148:80
没有找到相关结果
已邀请:
要回复问题请先登录
3 个回复
w1114367261
赞同来自: Prajna
w1114367261
赞同来自:
yung
赞同来自:
报错信息里面给了提示