diff --git a/src/components/quickcommandUI/ButtonBox.vue b/src/components/quickcommandUI/ButtonBox.vue index e20c357..9f941b6 100644 --- a/src/components/quickcommandUI/ButtonBox.vue +++ b/src/components/quickcommandUI/ButtonBox.vue @@ -9,7 +9,6 @@ class="full-width" color="primary" :label="label" - v-close-popup @click="clickOK(label, index)" /> @@ -28,8 +27,12 @@ export default { options: Object, }, methods: { + hide() { + this.$emit("hide"); + }, clickOK(label, index) { this.$emit("clickOK", { id: index, text: label }); + this.hide(); }, }, }; diff --git a/src/components/quickcommandUI/ConfirmBox.vue b/src/components/quickcommandUI/ConfirmBox.vue index 4f07dad..7266c1f 100644 --- a/src/components/quickcommandUI/ConfirmBox.vue +++ b/src/components/quickcommandUI/ConfirmBox.vue @@ -7,15 +7,8 @@ {{ options.message }} - - + + @@ -23,8 +16,12 @@