fix modal open
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user