Commit 0bb4121c authored by QingDeng's avatar QingDeng Committed by Zhi Cun

MessageBox: fix  distinguishCancelAndClose action not same as docs bug (#15438)

parent c570a59e
...@@ -231,6 +231,9 @@ ...@@ -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');
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment