vue2 to vue3 migration

This commit is contained in:
2023-08-02 12:03:37 +02:00
parent ec02fe865e
commit 7d4cc6ee70
18 changed files with 6925 additions and 28585 deletions

View File

@@ -97,7 +97,7 @@ export default {
this.align = (this.value && this.value.align) ? this.value.align : this.align;
if (this.value.open) this.modalBox = true;
console.log('mounted text');
this.$emit('input', this.value);
this.$emit('update:modelValue', this.value);
},
@@ -107,7 +107,7 @@ export default {
},
onCloseModal: function () {
this.modalBox = false;
this.$emit('input', {
this.$emit('update:modelValue', {
name: this.name,
text: this.text,
h_type: this.h_type,