uni.canvasToTempFilePath({}, this);加个this
uni.canvasToTempFilePath({
canvasId: "canvas",
success: (res) => {
console.log('canvas转成图片成功:', res);
},
fail: (err) => {
console.log('canvas转成图片失败:', err)
}
}, this)
↓↓↓ 各位大佬点点赞
4 个评论
要回复文章请先登录或注册
1***@qq.com
x***@163.com
蔡cai (作者)
Diligent_UI