chore(dialog): remove accidental changes
parent
06316c56b6
commit
02c7af18b9
|
@ -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();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue