From 517dcd5c0fc1f787adcec69b1b057586ec030165 Mon Sep 17 00:00:00 2001 From: jinzelin Date: Thu, 29 Aug 2024 22:18:00 +0800 Subject: [PATCH] fix: popup.maskClick --- packages/hippy_ui_react/src/components/Popup/PropsType.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hippy_ui_react/src/components/Popup/PropsType.tsx b/packages/hippy_ui_react/src/components/Popup/PropsType.tsx index f1aa9f2..e9506e6 100644 --- a/packages/hippy_ui_react/src/components/Popup/PropsType.tsx +++ b/packages/hippy_ui_react/src/components/Popup/PropsType.tsx @@ -11,7 +11,7 @@ export interface PopupProps { /** 遮罩无障碍阅读文本 */ maskAccessibilityLabel?: string; /** 点击蒙层事件 */ - onMaskClick?: () => void | boolean; + onMaskClick?: (e?: any) => void | boolean; /** 半屏完全展示通知 */ onShow?: () => void; /** 是否使用动画 */