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