diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index e469f0e1e..0e749a7d6 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -51,7 +51,8 @@ export const modalProps = () => ({ onOk: Function as PropType<(e: MouseEvent) => void>, onCancel: Function as PropType<(e: MouseEvent) => void>, 'onUpdate:visible': Function as PropType<(visible: boolean) => void>, - onChange: Function as PropType<(visible: boolean) => void>, + 'onUpdate:open': Function as PropType<(open: boolean) => void>, + onChange: Function as PropType<(open: boolean) => void>, afterClose: Function as PropType<() => void>, centered: { type: Boolean, default: undefined }, width: [String, Number],