xx.writeFile wx.getSavedFileList 空
const mytmp = `${wx.env.USER_DATA_PATH}/${fileName}`
xx.writeFile({
filePath: mytmp,
encoding: ‘binary’,
data: fffff,
success: res => {
console.log(‘write file ok-----------’, fileName)
callback({
path: mytmp,
result: res
})
现在是缓存超过10M 无法清空, 如果我每次都用一个文件名,有的安卓系统不能覆盖已有文件。 求解
