diff --git a/src/components/plugin/SectionTextarea.vue b/src/components/plugin/SectionTextarea.vue index 83db64f..3218364 100644 --- a/src/components/plugin/SectionTextarea.vue +++ b/src/components/plugin/SectionTextarea.vue @@ -59,9 +59,15 @@ export default { modelValue: Object }, mounted: function () { + let vm = this this.name = this.modelValue && this.modelValue.name ? this.modelValue.name : this.name this.text = this.modelValue && this.modelValue.text ? this.modelValue.text : this.text - if (this.modelValue.open) this.modalBox = true + if (this.modelValue.open) { + this.modalBox = true + setTimeout(function () { + vm.delayModal = true + }, 200) + } console.log('mounted textarea') this.$emit('update:modelValue', this.modelValue) },