chore(dialog): remove accidental changes

pull/7097/head
Jakub Michálek 2025-01-14 16:31:18 +01:00
parent 06316c56b6
commit 02c7af18b9
1 changed files with 1 additions and 2 deletions

View File

@ -141,7 +141,6 @@ export default {
}, },
methods: { methods: {
close() { close() {
console.log('close');
this.$emit('update:visible', false); this.$emit('update:visible', false);
}, },
onEnter() { onEnter() {
@ -332,7 +331,7 @@ export default {
this.bindDocumentDragEndListener(); this.bindDocumentDragEndListener();
} }
if (this.closeOnEscape) { if (this.closeOnEscape && this.closable) {
this.bindDocumentKeyDownListener(); this.bindDocumentKeyDownListener();
} }
}, },