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