chore(dialog): remove accidental changes
parent
06316c56b6
commit
02c7af18b9
|
@ -141,7 +141,6 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
close() {
|
||||
console.log('close');
|
||||
this.$emit('update:visible', false);
|
||||
},
|
||||
onEnter() {
|
||||
|
@ -332,7 +331,7 @@ export default {
|
|||
this.bindDocumentDragEndListener();
|
||||
}
|
||||
|
||||
if (this.closeOnEscape) {
|
||||
if (this.closeOnEscape && this.closable) {
|
||||
this.bindDocumentKeyDownListener();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue