the attributes passed in by modal are as follows:
//
const editProps = {
data: allData,
visible: editVisible,
destroyOnClose:true,
successBack: () => {
this.setState({
editVisible: false,
})
this.props.form.resetFields();
this.refs.sysInfoTable.reload()
},
onCancel: () => {
this.setState({
editVisible: false
})
this.props.form.resetFields();
}
}
after closing modal, the child elements of modal will not be destroyed, and the previously modified values will still be displayed. How to modify