相关API::wx.chooseImage,wx.getFileSystemManager().readFileSync()
pc小程序返回的临时路径地址 wxfile://temp/sl.jpg
移动小程序返回的临时路径地址 wxfile://tmp_baafac51d982e7568776155fa3fa8d1c.jpg
通过wx.getFileSystemManager().readFileSync(filePath)获取图片的arrayBuffer数据,移动端返回正确,pc端返回的是undefined。
可能是API兼容问题,还是需要另外的兼容写法?希望帮忙排查一下
不用处理,
之前好像看到过是工具bug,正常操作就好了
麻烦提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
请具体描述问题出现的流程,并提供能复现问题的简单代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html