怎么清除downloadFile缓存的文件?

发布于 6 年前作者 yang223829 次浏览最后编辑 6 年前来自 ask

调用downloadFile下载pdf文件,缓存超出10m下载pdf文件,会报downloadFile: fail savefile: fail the maximum size of the file storage limit is exceeded错误,而使用wx.getSavedFileList也获取不到缓存的文件信息,使用downloadFile下载文件的时候指定了filePath,请问要怎样才能清除downloadFile缓存的文件?

0 回复
暂无回复