上传图片添加水印 //别忘了第二个参数thisuni.getImageInfo({src: filePath,success:(res) =>{// 设置画布高度和宽度this.canvasWidth=`${res.width}px`this.canvasHeight=`${res.height}px`constctx = uni.createCanvasContext('myCanvas',this) ctx.clearRect(0,0, res.width, res.height) ctx.begin...