微信开发者工具中,清理文件缓存后,wx.getImageInfo() 调用失败的原因?
正常打开微信开发者工具后, wx.getImageInfo()能够正常执行。但是如何我执行清除“文件缓存”就会调用失败。错误提示信息:errMsg: "getImageInfo:fail download image fail. reason: downloadFile:fail Error: ENOENT: no such file or directory, open 'C:\Users\Administrator\AppData\Local\微信开发者工具...。反复重新编译,结果都是调用失败。但是如果关闭微信开发者工具,重新打开,wx.getImageInfo()又会正常执行