Преглед изворни кода

MessageBox: add missing type (#12118)

hetech пре 7 година
родитељ
комит
c2d41ad882
1 измењених фајлова са 3 додато и 0 уклоњено
  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 {