mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
MessageBox: fix distinguishCancelAndClose action not same as docs bug (#15438)
This commit is contained in:
@@ -231,6 +231,9 @@
|
||||
getInputElement() {
|
||||
const inputRefs = this.$refs.input.$refs;
|
||||
return inputRefs.input || inputRefs.textarea;
|
||||
},
|
||||
handleClose() {
|
||||
this.handleAction('close');
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user