Ver Fonte

MessageBox: add missing declaration (#11861)

Jikkai Xiao há 7 anos atrás
pai
commit
899d70da93
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      types/message-box.d.ts

+ 3 - 0
types/message-box.d.ts

@@ -73,6 +73,9 @@ export interface ElMessageBoxOptions {
   /** Whether to show a confirm button */
   showConfirmButton?: boolean
 
+  /** Whether to show a close button */
+  showClose?: boolean
+
   /** Text content of cancel button */
   cancelButtonText?: string