fix signature prefill

This commit is contained in:
Pete Matsyburka
2025-06-30 11:41:07 +03:00
parent 74411d883a
commit 10e4476f4a
2 changed files with 8 additions and 3 deletions
@@ -203,7 +203,7 @@ export default {
emits: ['attached', 'update:model-value', 'start', 'minimize', 'focus'],
data () {
return {
isInitialsStarted: !!this.previousValue,
isInitialsStarted: false,
isUsePreviousValue: true,
isDrawInitials: false,
uploadImageInputKey: Math.random().toString()
@@ -218,6 +218,9 @@ export default {
}
}
},
created () {
this.isInitialsStarted = !!this.computedPreviousValue
},
async mounted () {
this.$nextTick(() => {
if (this.$refs.canvas) {