Parcourir la source

fix: 修正console.log问题

ChenYangfan il y a 6 ans
Parent
commit
728c23705f
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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) {