Skip to content

Commit 0bb4121

Browse files
QingDengisland205
authored andcommitted
MessageBox: fix  distinguishCancelAndClose action not same as docs bug (#15438)
1 parent c570a59 commit 0bb4121

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/message-box/src/main.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@
231231
getInputElement() {
232232
const inputRefs = this.$refs.input.$refs;
233233
return inputRefs.input || inputRefs.textarea;
234+
},
235+
handleClose() {
236+
this.handleAction('close');
234237
}
235238
},
236239

0 commit comments

Comments
 (0)