Sfoglia il codice sorgente

MessageBox: add missing declaration (#11861)

Jikkai Xiao 7 anni fa
parent
commit
899d70da93
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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