This commit is contained in:
2021-08-10 18:49:11 +00:00
parent 9e8e4dbecd
commit dc15ccaee5
3 changed files with 37 additions and 25 deletions

View File

@@ -164,13 +164,13 @@ export default {
save() {
let svg = this.$refs.sigCtrl.save("image/svg+xml");
if (this.$refs.sigCtrl.isEmpty()) {
console.log("IS EMPTY");
//console.log("IS EMPTY");
svg = null;
}
this.setSig(svg);
this.setCaptured(window.$gz.locale.nowUTC8601String());
this.setName(this.tempName);
console.log("SVG size IS ", svg == null ? 0 : svg.length);
//console.log("SVG size IS ", svg == null ? 0 : svg.length);
this.value.isDirty = true;
this.pvm.formState.dirty = true;