Explorar el Código

MessageBox: add missing type (#12118)

hetech hace 7 años
padre
commit
c2d41ad882
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      types/message-box.d.ts

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

@@ -126,6 +126,9 @@ export interface ElMessageBoxOptions {
 
   /** Error message when validation fails */
   inputErrorMessage?: string
+
+  /** Whether to distinguish canceling and closing */
+  distinguishCancelAndClose?: boolean
 }
 
 export interface ElMessageBoxShortcutMethod {