订阅 通知保存修改

This commit is contained in:
GaoHao 2024-10-29 10:31:52 +08:00
parent b8c603e683
commit 94c0fdfe05
1 changed files with 1 additions and 11 deletions

View File

@ -42,7 +42,6 @@ onShow(() => {
const saveImage = () => {
// #ifdef APP-PLUS
saveQrcodeImg()
uni.downloadFile({
url: vdata.QrcodeUrl,
success: (res) => {
@ -92,16 +91,7 @@ function downloadQR() {
}
//#endif
const saveQrcodeImg = () => {
saveHeadImgFile(vdata.QrcodeUrl, 80)
.then((success) => {
infoBox.showSuccessToast('保存成功')
})
.catch((err) => {
console.log(err)
infoBox.showErrorToast('保存失败')
})
}
const saveWxQrcodeImg = (data) => {
const fileManager = wx.getFileSystemManager()