fix(modal): add onUpdate:open prop (#6876)
parent
3c05b7704b
commit
418d8b33dd
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue