Destroying the antd modal box does not erase the data

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

Mar.15,2021

< Modal / > the state does not empty automatically when it is turned off by default. If you want new content every time you open it, set destroyOnClose.

as if I didn't make myself clear at first, I used react.
finally, I add the ref attribute to modal, and finally reset the input value through this.refs.modal.resetFields ()

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45c1d-43896.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45c1d-43896.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?