-
+
@@ -245,6 +246,9 @@
isWideScreen() {
return window.innerWidth >= 768; // Adjust the threshold as needed
},
+ drawWidth() {
+ return window.innerWidth < 768 ? Math.floor(window.innerWidth-100) : 760; // Adjust the threshold as needed
+ },
},
data() {
return {
@@ -335,8 +339,8 @@
});
},
clearSignature() {
- var data = this.signaturePad.toDataURL("image/svg+xml");
- console.log(data);
+ // var data = this.signaturePad.toDataURL("image/svg+xml");
+ // console.log(data);
this.signaturePad.clear();
},
getData(param) {