新版本微信saveImageToPhotosAlbum保存图片到相册,提示成功,相册里找不到图片
wx.saveImageToPhotosAlbum({
filePath: that.data.canvasImg.canUrl,
success(res) {
wx.showToast({ title: ‘保存成功’, mask: true, icon: ‘success’, duration: 1000 });
},
fail: function (res) {
that.mPagObj.canBC = true;
}
})
提示保存成功了,在相册里找不到。开发工具测试OK