diff --git a/packages/message-box/src/main.vue b/packages/message-box/src/main.vue
index 4eb29e7a1..e6d8a9292 100644
--- a/packages/message-box/src/main.vue
+++ b/packages/message-box/src/main.vue
@@ -37,10 +37,7 @@
{{ editorErrorMessage }}
@@ -145,18 +142,6 @@
},
methods: {
- handleComposition(event) {
- if (event.type === 'compositionend') {
- setTimeout(() => {
- this.isOnComposition = false;
- }, 100);
- } else {
- this.isOnComposition = true;
- }
- },
- handleKeyup() {
- !this.isOnComposition && this.handleAction('confirm');
- },
getSafeClose() {
const currentId = this.uid;
return () => {