From ae1f957ae7170ba9223299d852b957491bf281b4 Mon Sep 17 00:00:00 2001 From: PengYYY Date: Sun, 1 Dec 2024 23:32:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20drawer=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=20closeOnOverlayClick=20=E5=B1=9E=E6=80=A7=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/drawer/props.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drawer/props.ts b/src/drawer/props.ts index fe740f2e49..39e6527747 100644 --- a/src/drawer/props.ts +++ b/src/drawer/props.ts @@ -32,7 +32,7 @@ export default { /** 点击蒙层时是否触发抽屉关闭事件 */ closeOnOverlayClick: { type: Boolean, - default: true, + default: undefined, }, /** 确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件 */ confirmBtn: {