代码如下
var aa = wx.getFileSystemManager(); aa.writeFile({ filePath: wx.env.USER_DATA_PATH + '/a.pdf' , data: base64, encoding: 'base64' , success: res => { wx.showToast({ title: '保存成功' ,
|
}) |
安卓和ios都能保存成功,那么怎么找到这个文件呢?
网友回复
杨书宝:
安卓的在tencent/MicroMsg/wxanewfiles/.../ 下
那么ios的在哪看?
凡人: .。...iIfvl井dIfff
":
wx.openDocument 后另存为?