diff --git a/src/components/desktop/ConfirmDialog.vue b/src/components/desktop/ConfirmDialog.vue index a8977e24..9bd07ee3 100644 --- a/src/components/desktop/ConfirmDialog.vue +++ b/src/components/desktop/ConfirmDialog.vue @@ -43,7 +43,7 @@ export default { } }, watch: { - 'show': function (newValue) { + 'showState': function (newValue) { this.$emit('update:show', newValue); } }, @@ -67,7 +67,7 @@ export default { return new Promise((resolve, reject) => { this.resolve = resolve; this.reject = reject; - }) + }); }, confirm() { if (this.resolve) {