Skip to content

Commit

Permalink
fix: 修复 drawer 组件 closeOnOverlayClick 属性默认值问题
Browse files Browse the repository at this point in the history
  • Loading branch information
PengYYYYY committed Dec 1, 2024
1 parent 53e8516 commit ae1f957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawer/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default {
/** 点击蒙层时是否触发抽屉关闭事件 */
closeOnOverlayClick: {
type: Boolean,
default: true,
default: undefined,
},
/** 确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件 */
confirmBtn: {
Expand Down

0 comments on commit ae1f957

Please sign in to comment.