请解答,wx.downloadFile 下载文件大小的限制? |
您所在的位置:网站首页 › 微信小程序里的文件下载 › 请解答,wx.downloadFile 下载文件大小的限制? |
wx.downloadFile 下载的文件大小限制是多少? 之前看官方文档 上说是50M, 可是在社区里回答的都是10M,现在改为10M了,但是8-9M的还是下载失败,提示内存不足 downloadFile:fail the maximum size of the file storage limit is exceeded 请问该怎么解决 wx.downloadFile({ url: file, filePath: wx.env.USER_DATA_PATH + '/' + fileName, success: function (res) { const resultFilePath = res.filePath console.log('文档路径:' + resultFilePath); wx.openDocument({ filePath: resultFilePath, showMenu: true, fileType: fileType, success: function (rs) { console.log('打开文档成功') } }) } }) |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |