Skip to content

Commit

Permalink
MessageBox: fix  distinguishCancelAndClose action not same as docs bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoRuiLong committed May 7, 2019
1 parent f12849b commit e0873d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/message-box/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@
getInputElement() {
const inputRefs = this.$refs.input.$refs;
return inputRefs.input || inputRefs.textarea;
},
handleClose() {
this.handleAction('close');
}
},
Expand Down

0 comments on commit e0873d7

Please sign in to comment.