下载图片

parent 31c65da5
......@@ -212,13 +212,13 @@ function saveImage(url) {
// 移除下载链接
document.body.removeChild(link);
URL.revokeObjectURL(objectUrl);
uni.showoast({
uni.showToast({
title: '下载成功',
icon: 'success'
})
})
.catch(error => {
uni.showoast({
uni.showToast({
title: '下载失败',
icon: 'none'
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment