ant design的关闭ModalForm和Modal弹框,清除数据的方法:
1、ModalForm弹框modalProps中加destroyOnClose
<ModalForm
visible={visible}
modalProps={{
destroyOnClose: true
}}
/>
</ModalForm>
2、Modal弹框中加destroyOnClose
<Modal
visible={visible}
destroyOnClose: {true}
/>
</Modal>
标签:ModalForm,destroyOnClose,弹框,ant,design,Modal From: https://www.cnblogs.com/panwudi/p/16901194.html