Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -105,7 +105,8 @@ |
105 | 105 | if (activeKey === TabKeyEnum.VISUAL) { |
106 | 106 | dataSource.value = (dataSourceFormEl.value?.getFormValues() as DataSourceType[]) || []; |
107 | 107 | } |
108 | - currentRecord.value = basicInfoFromEl.value?.getFormValues() || {}; | |
108 | + const value = basicInfoFromEl.value?.getFormValues() || {}; | |
109 | + currentRecord.value = { ...unref(currentRecord), ...value }; | |
109 | 110 | }; |
110 | 111 | |
111 | 112 | const handleNewRecord = () => { | ... | ... |