From 10d5d95a52341a176d81d75186feafb4c0a58fa8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 02 六月 2023 11:50:50 +0800 Subject: [PATCH] Merge branch 'develop' --- src/components/normalform/modalform/index.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/components/normalform/modalform/index.jsx b/src/components/normalform/modalform/index.jsx index 28dc5c9..7ce6bc5 100644 --- a/src/components/normalform/modalform/index.jsx +++ b/src/components/normalform/modalform/index.jsx @@ -178,7 +178,9 @@ recordChange = (values, item) => { this.record = {...this.record, ...values} - if (item && item.controlFields) { + if (!item) return + + if (item.controlFields) { let map = new Map() this.state.formlist.forEach(cell => { if (!cell.field) return -- Gitblit v1.8.0