fix update

This commit is contained in:
2024-01-11 13:21:24 +01:00
parent cc55a303a6
commit 54fbaa3915

View File

@@ -35,8 +35,7 @@
>
</div>
<div class="ms-4" style="color: #a9a9a9" v-html="ctext"></div>
<img :src="image" style="max-width:200px">
<img :src="image" style="max-width: 200px" />
</div>
</template>
<script>
@@ -120,6 +119,8 @@ export default {
this.$emit('itemRemoved', this.modelValue)
},
onCloseModal: function () {
setTimeout(
function () {
this.modalBox = false
this.$emit('update:modelValue', {
name: this.name,
@@ -129,6 +130,9 @@ export default {
data: this.data,
type: this.type
})
}.bind(this),
200
)
}
}
}