getFileSystemManager().readFile()的bug
发布于 5 年前 作者 thu 13984 次浏览 来自 问答

读取普通图片的临时路径是ok的:

wx.getFileSystemManager().readFile({

filePath: xxx, //选择图片返回的相对路径

encoding: 'base64'});

但是取无法转换通过wx.canvasToTempFilePath()处理过的路径;

2 回复

你好,请提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

我的开发者工具和手机都没问题:示例代码片段 https://developers.weixin.qq.com/s/E9Z6jsmZ7Bfo

回到顶部