vue2 to vue3 migration
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user