Commit cf44ef678b227c3008afe13bfe5ea1d2f6d9e222
Merge branch 'fix/board-datasource-copy' into 'main_dev'
fix: 修改看板组件数据源配置复制问题 See merge request yunteng/thingskit-front!806
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 | ... | ... |