花狐狸
花狐狸
  • 发布:2022-05-26 18:22
  • 更新:2022-05-26 20:19
  • 阅读:245

绘图成功,但保存的图片有绘制二维码没有绘在图片上了。

分类:uni-app

绘图成功,但保存的图片有绘制二维码没有绘在图片上了。

2022-05-26 18:22 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

执行完成方法

  • 花狐狸 (作者)

    试了,加了延迟3000毫秒。也是一样保存失败setTimeout(() => {

    uni.saveImageToPhotosAlbum({

    // filePath: res.tempFilePath,

    filePath:this.ca_imag,

    success: function() {

    console.log('save success');

    uni.showToast({

    icon: 'none',

    title: '保存成功',

    position: 'bottom'

    })

    },

    fail() {

    uni.showToast({

    icon: 'none',

    title: '保存失败',

    position: 'bottom'

    })

    }

    });

    }, 3000);

    2022-05-27 16:30

该问题目前已经被锁定, 无法添加新回复