diff --git a/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx b/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx index 990723f68..7648c6da6 100644 --- a/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx +++ b/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx @@ -154,6 +154,7 @@ export const SubTable: any = observer( onClick() { selectedRows.map((v) => field.value.push(v)); field.onInput(field.value); + field.initialValue = field.value; setSelectedRows([]); setVisible(false); },