See999 5 years ago
parent
commit
85b21f513c
1 changed files with 8 additions and 7 deletions
  1. 8 7
      src/pages/personal/ElectronicSignature.vue

+ 8 - 7
src/pages/personal/ElectronicSignature.vue View File

@@ -130,13 +130,13 @@ export default {
130 130
   created() {
131 131
     this.getToken();
132 132
     this.GetElectronicSignature();
133
-    document.body.addEventListener(
134
-      "touchmove",
135
-      function(e) {
136
-        e.preventDefault();
137
-      },
138
-      { passive: false }
139
-    );
133
+    // document.body.addEventListener(
134
+    //   "touchmove",
135
+    //   function(e) {
136
+    //     e.preventDefault();
137
+    //   },
138
+    //   { passive: false }
139
+    // );
140 140
   },
141 141
   mounted() {
142 142
     const canvas = document.querySelector("#canvas");
@@ -228,6 +228,7 @@ export default {
228 228
       this.middleAry.push(preData);
229 229
     },
230 230
     canvasMove(e) {
231
+      e.preventDefault();
231 232
       if (this.canvasMoveUse) {
232 233
         const t = e.target;
233 234
         let canvasX;