Эх сурвалжийг харах

MessageBox: add missing declaration (#11861)

Jikkai Xiao 7 жил өмнө
parent
commit
899d70da93

+ 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