[LayaAirIDE 2.0]laya.wxmini.js里面window对象的属性window是只读的,不能给他赋值。
打地鼠游戏发布到微信开发者工具后遇到的问题。
Cannot assign to read only property 'window' of object '#<Window>'
TypeError: Cannot assign to read only property 'window' of object '#<Window>'
Cannot assign to read only property 'window' of object '#<Window>'
TypeError: Cannot assign to read only property 'window' of object '#<Window>'
没有找到相关结果
已邀请:
要回复问题请先登录
4 个回复
郭鹏斌
赞同来自:
Aar0n
赞同来自:
陈育源
赞同来自:
mamama
赞同来自:
//window=window||global;
就可以跑,但是!!!!!!!!只是在开发者工具上可以跑,当真机调试的时候,就会出问题!!!怎么办!!!