我们已发布的版本在微信后台收集到了readFileSync:fail permission denied, open "game.config.json"错误,
game.config.json是放在game.js同目录下的,在game.js中调用:
const WXFS = wx.getFileSystemManager(); const gameJsonContent = WXFS.readFileSync( "game.config.json" , 'utf-8' ); |
有少量报错readFileSync:fail permission denied, open "game.config.json",机型不详,截图如下:
请提供下appid