wx.downloadFile({ url: this.data.info.poster.replace('http','https'), success (res) { console.log(res) wx.saveImageToPhotosAlbum({ filePath: res.tempFilePath, success(res) { _this.setData({ show: false }); wx.showToast{ title: '已保存到相册', icon: 'none' }) }, fail: e => { console.log(e) } }) } })
IOS 没有任何问题 安卓测试 版本 安卓10 机型:vivo NEX
http://maoti.oss-cn-shenzhen.aliyuncs.com/cr1596096250880.jpg