diff --git a/packages/hippy_ui_react/src/components/Mask/index.tsx b/packages/hippy_ui_react/src/components/Mask/index.tsx index 26eda36..4425217 100644 --- a/packages/hippy_ui_react/src/components/Mask/index.tsx +++ b/packages/hippy_ui_react/src/components/Mask/index.tsx @@ -59,7 +59,7 @@ export class Mask extends Component, {}> { /** * 收起Mask * */ - static hide(options?: { key: string }) { + static hide(options?: { key?: string }) { const { key = 'default' } = options || {}; if (!key) { GLOBAL_VIEW_MASK_LIST = [];