From 61ae84cc55cb349e253818b523d0acaa98e1cb93 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Sun, 7 May 2023 20:34:48 +0800 Subject: [PATCH] style: style improve --- .../schema-component/antd/association-field/Nester.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/core/client/src/schema-component/antd/association-field/Nester.tsx b/packages/core/client/src/schema-component/antd/association-field/Nester.tsx index 5aefda575d..98d1c1c64f 100644 --- a/packages/core/client/src/schema-component/antd/association-field/Nester.tsx +++ b/packages/core/client/src/schema-component/antd/association-field/Nester.tsx @@ -34,7 +34,7 @@ const toArr = (value) => { const ToManyNester = observer((props) => { const fieldSchema = useFieldSchema(); - const { field ,options:collectionField} = useAssociationFieldContext(); + const { field, options: collectionField } = useAssociationFieldContext(); const values = toArr(field.value); const { onClick } = useRemoveActionProps(`${collectionField.collectionName}.${collectionField.target}`); return ( @@ -42,17 +42,19 @@ const ToManyNester = observer((props) => { {values.map((value, index) => { return ( <> +