你好,不好意思 打扰了,你这个我下载下来,使用手机浏览器不行呢 我修改了事件
init(ws, btn) {
alert(1)
// this.canvas.touchstart = () => {
// this.drawBegin(event, ws)
// }
// this.canvas.touchend = () => {
// this.drawEnd()
// // ws.send('stop')
// }
canvas.addEventListener('touchstart', this.drawBegin(event, ws), false);
canvas.addEventListener('touchend', this.drawEnd(), false);
canvas.addEventListener('touchmove', this.drawing(event, ws), false);
this.clearCanvas(ws, btn)
}
能否帮我看一下呢 多谢了 如果愿意的话 可以加一下我的qq吗 1015905041 孙刚 再次感谢了
你好,不好意思 打扰了,你这个我下载下来,使用手机浏览器不行呢 我修改了事件
init(ws, btn) {
alert(1)
// this.canvas.touchstart = () => {
// this.drawBegin(event, ws)
// }
// this.canvas.touchend = () => {
// this.drawEnd()
// // ws.send('stop')
// }
能否帮我看一下呢 多谢了 如果愿意的话 可以加一下我的qq吗 1015905041 孙刚 再次感谢了