wxml
<button class='btn' bindtap='postSave'>保存到本地相册</button>
js
// 保存二维码
postSave(e) {
let _this = this;
wx.showLoading({
title: '保存中...'
})
wx.downloadFile({
url: _this.data.shareImage,
success: function (res) {
//图片保存到本地
wx.saveImageToPhotosAlbum(</