diff --git a/packages/plugins/@nocobase/plugin-workflow-manual/src/client/instruction/FormBlockProvider.tsx b/packages/plugins/@nocobase/plugin-workflow-manual/src/client/instruction/FormBlockProvider.tsx index dcdf300ec2..e813f6b7d6 100644 --- a/packages/plugins/@nocobase/plugin-workflow-manual/src/client/instruction/FormBlockProvider.tsx +++ b/packages/plugins/@nocobase/plugin-workflow-manual/src/client/instruction/FormBlockProvider.tsx @@ -10,6 +10,7 @@ import { createForm } from '@formily/core'; import { useField, useFieldSchema } from '@formily/react'; import { + BlockProvider, BlockRequestContext_deprecated, CollectionManagerProvider, CollectionProvider_deprecated, @@ -82,20 +83,20 @@ export function FormBlockProvider(props) { return !userJob?.status || values ? ( - - - - - + + + + +
{props.children}
-
-
-
-
-
+ + + + +
) : null; diff --git a/packages/plugins/@nocobase/plugin-workflow/src/client/components/DetailsBlockProvider.tsx b/packages/plugins/@nocobase/plugin-workflow/src/client/components/DetailsBlockProvider.tsx index 07e5bb37e6..698caba89a 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/client/components/DetailsBlockProvider.tsx +++ b/packages/plugins/@nocobase/plugin-workflow/src/client/components/DetailsBlockProvider.tsx @@ -16,6 +16,7 @@ import { CollectionProvider_deprecated, FormBlockContext, RecordProvider, + RerenderDataBlockProvider, parseCollectionName, useAPIClient, useAssociationNames, @@ -86,20 +87,22 @@ export function DetailsBlockProvider({ collection, dataPath, children }) { return ( - - - {children} - - + + + + {children} + + + );