水印绘制实现
setTimeout(function() {
uni.canvasToTempFilePath({
canvasId: options.canvasId,
fileType: options.fileType,
width: photoWidth,
height: photoHeight,
success: function(res) {
markInfo.photoPath = res.tempFilePath;
resolve(markInfo);
},
fail: function(err) {
reject(err)
}
}, options._this);
}, 150)
}); ```