From 0e1564f499b768ad2d80f7a1437f1f3d443987e5 Mon Sep 17 00:00:00 2001 From: Yangzhedi Date: Sat, 12 Jan 2019 13:14:06 +0800 Subject: [PATCH] fix(modal): add forceRender interface --- components/modal/Modal.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index 484a659171..1ca4f5eef5 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -42,6 +42,8 @@ export interface ModalProps { cancelText?: string; /** 点击蒙层是否允许关闭*/ maskClosable?: boolean; + /** 强制渲染 Modal*/ + forceRender?: boolean; okButtonProps?: NativeButtonProps; cancelButtonProps?: NativeButtonProps; destroyOnClose?: boolean;