//鼠标移动(在canvas内部)【线条】
canvasMove(e) {
if (this.data.canvasMoveUse || true) {
//console.log('canvasMove')
const {
x,
y
} = e.touches[0];
let canvasX = x;
let canvasY = y;
this.data.context.lineTo(canvasX, canvasY)
this.data.context.stroke()
this.data.isSignature = true
}
},
wx.createSelectorQuery()
小程序的canvas画图功能,微信有bug,目前尚未修复