浏览代码

MessageBox: add missing declaration (#11861)

Jikkai Xiao 7 年之前
父节点
当前提交
899d70da93
共有 1 个文件被更改,包括 3 次插入0 次删除
  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