update 搬迁树节点页面

This commit is contained in:
2021-06-13 19:24:46 +08:00
parent 1db0ce888b
commit 39b46e7959
10 changed files with 841 additions and 33 deletions

View File

@@ -51,7 +51,7 @@ export default class ModalForm extends Component {
* 打开弹窗
* @param {*} data
*/
open(data) {
open(data = {}) {
this.data = data
this.setState({ visible: true })
}
@@ -86,7 +86,10 @@ export default class ModalForm extends Component {
*/
async onClose() {
const body = this.childNode.current
if (!body) return
if (!body) {
this.close()
return
}
if (this.compareOnClose) {
const formData = body.form.current.getFieldsValue()