|
@@ -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;
|