From 2b549ea259011632cbc0fe6696e4981a4839a5ea Mon Sep 17 00:00:00 2001 From: chenos Date: Sun, 28 Mar 2021 17:47:26 +0800 Subject: [PATCH] fix: subtable associatedKey --- packages/app/src/components/form.fields/sub-table/Table.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/src/components/form.fields/sub-table/Table.tsx b/packages/app/src/components/form.fields/sub-table/Table.tsx index 75a005da0..2bdd14feb 100644 --- a/packages/app/src/components/form.fields/sub-table/Table.tsx +++ b/packages/app/src/components/form.fields/sub-table/Table.tsx @@ -32,14 +32,14 @@ export default function Table(props: SimpleTableProps) { const { schema = {}, associatedKey, value, onChange, __index } = props; const { collection_name, name } = schema; const viewName = `${collection_name}.${name}.${schema.viewName || 'table'}`; - console.log({ props, associatedKey, schema, __index, viewName, schema }); + console.log({ props, associatedKey, schema, __index, viewName }); return ( <>