Browse Source

fix: 修正console.log问题

ChenYangfan 6 years ago
parent
commit
728c23705f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/components/PDF/PointerCanvas.vue

+ 0 - 1
src/components/PDF/PointerCanvas.vue

@@ -63,7 +63,6 @@ export default {
     handleMouseMove (e) {
     handleMouseMove (e) {
       if (this.pointerActive) {
       if (this.pointerActive) {
         const { x, y } = this.points[this.points.length - 1] ?? { x: 0, y: 0 }
         const { x, y } = this.points[this.points.length - 1] ?? { x: 0, y: 0 }
-        console.log(x, e.clientX)
         if (this.points.length === 0 || Math.abs(x - e.clientX) > 8 || Math.abs(y - e.clientY) > 8) {
         if (this.points.length === 0 || Math.abs(x - e.clientX) > 8 || Math.abs(y - e.clientY) > 8) {
           this.points.unshift({ x: e.clientX, y: e.clientY })
           this.points.unshift({ x: e.clientX, y: e.clientY })
           if (this.points.length > 30) {
           if (this.points.length > 30) {