mirror of https://github.com/ElemeFE/element
MessageBox: fix distinguishCancelAndClose action not same as docs bug (#15438)
parent
c570a59e23
commit
0bb4121cc3
|
@ -231,6 +231,9 @@
|
||||||
getInputElement() {
|
getInputElement() {
|
||||||
const inputRefs = this.$refs.input.$refs;
|
const inputRefs = this.$refs.input.$refs;
|
||||||
return inputRefs.input || inputRefs.textarea;
|
return inputRefs.input || inputRefs.textarea;
|
||||||
|
},
|
||||||
|
handleClose() {
|
||||||
|
this.handleAction('close');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue