Showing
1 changed file
with
1 additions
and
2 deletions
@@ -139,7 +139,6 @@ | @@ -139,7 +139,6 @@ | ||
139 | const uuid = trackUpdate(); | 139 | const uuid = trackUpdate(); |
140 | const raw = toRaw(record); | 140 | const raw = toRaw(record); |
141 | 141 | ||
142 | - console.log(currentRecord, 'currentRecord'); | ||
143 | emit('update:dataSource', [ | 142 | emit('update:dataSource', [ |
144 | ...allValues, | 143 | ...allValues, |
145 | { componentInfo: raw.componentInfo, ...currentRecord, uuid }, | 144 | { componentInfo: raw.componentInfo, ...currentRecord, uuid }, |
@@ -174,7 +173,7 @@ | @@ -174,7 +173,7 @@ | ||
174 | 173 | ||
175 | const handleSettingOk = (data: DataSourceType) => { | 174 | const handleSettingOk = (data: DataSourceType) => { |
176 | const { uuid } = data; | 175 | const { uuid } = data; |
177 | - const _dataSource = cloneDeep(props.dataSource); | 176 | + const _dataSource = cloneDeep(getFormValues()); |
178 | 177 | ||
179 | const index = _dataSource.findIndex((item) => item.uuid === uuid); | 178 | const index = _dataSource.findIndex((item) => item.uuid === uuid); |
180 | 179 |