Commit 5f031522af12cbfd524ffa51c700def99bd6bb3b

Authored by ww
1 parent 77fe68ab

fix: 修复数据看板更新组件缺少组件id

@@ -105,7 +105,8 @@ @@ -105,7 +105,8 @@
105 if (activeKey === TabKeyEnum.VISUAL) { 105 if (activeKey === TabKeyEnum.VISUAL) {
106 dataSource.value = (dataSourceFormEl.value?.getFormValues() as DataSourceType[]) || []; 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 const handleNewRecord = () => { 112 const handleNewRecord = () => {