We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b5b7f2 commit 51888c4Copy full SHA for 51888c4
src/dialog/props.ts
@@ -31,7 +31,10 @@ export default {
31
default: undefined,
32
},
33
/** 点击蒙层时是否触发关闭事件 */
34
- closeOnOverlayClick: Boolean,
+ closeOnOverlayClick: {
35
+ type: Boolean,
36
+ default: undefined,
37
+ },
38
/** 确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件 */
39
confirmBtn: {
40
type: [String, Object, Function] as PropType<TdDialogProps['confirmBtn']>,
0 commit comments