Skip to content

Commit b874cd6

Browse files
author
zhiyang
committed
MessageBox: add missing type
1 parent 4130f2a commit b874cd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

types/message-box.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ export interface ElMessageBoxOptions {
126126

127127
/** Error message when validation fails */
128128
inputErrorMessage?: string
129+
130+
/** Whether to distinguish canceling and closing */
131+
distinguishCancelAndClose?: boolean
129132
}
130133

131134
export interface ElMessageBoxShortcutMethod {

0 commit comments

Comments
 (0)