mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-30 11:18:36 +08:00
refactor(plugin-workflow): add card layout for assigning fields (#4642)
This commit is contained in:
parent
ecb56130cf
commit
a6c16cf3db
@ -32,6 +32,7 @@ import {
|
||||
|
||||
import { useFlowContext } from '../FlowContext';
|
||||
import { useWorkflowVariableOptions } from '../variable';
|
||||
import { Card } from 'antd';
|
||||
|
||||
function reduceSchema(s, fn) {
|
||||
fn(s);
|
||||
@ -117,6 +118,7 @@ export function AssignedFieldsFormSchemaConfig(props) {
|
||||
);
|
||||
|
||||
return (
|
||||
<Card>
|
||||
<CollectionManagerProvider dataSource={dataSourceName}>
|
||||
<CollectionProvider name={collectionName}>
|
||||
<FormProvider form={form}>
|
||||
@ -132,5 +134,6 @@ export function AssignedFieldsFormSchemaConfig(props) {
|
||||
</FormProvider>
|
||||
</CollectionProvider>
|
||||
</CollectionManagerProvider>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user