mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 22:49:26 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
fd73f852ec
@ -14,9 +14,9 @@ import { ActionContextProvider, SchemaComponentOptions, useActionContext, useDes
|
||||
import { PopupVisibleProvider } from '../../antd/page/PagePopups';
|
||||
import { usePopupUtils } from '../../antd/page/pagePopupUtils';
|
||||
import { popupSchema } from './schema';
|
||||
|
||||
import { CollectionProvider, useCollection } from '../../../data-source';
|
||||
import { NocoBaseRecursionField } from '../../../formily/NocoBaseRecursionField';
|
||||
import { VariablePopupRecordProvider } from '../../../modules/variable/variablesProvider/VariablePopupRecordProvider';
|
||||
|
||||
const useInsertSchema = () => {
|
||||
const fieldSchema = useFieldSchema();
|
||||
@ -109,12 +109,14 @@ function withPopupWrapper<T>(WrappedComponent: React.ComponentType<T>) {
|
||||
>
|
||||
<CollectionProvider name={collection.name}>
|
||||
<SchemaComponentOptions>
|
||||
<VariablePopupRecordProvider>
|
||||
<NocoBaseRecursionField
|
||||
onlyRenderProperties
|
||||
basePath={field?.address}
|
||||
schema={fieldSchema}
|
||||
filterProperties={filterProperties}
|
||||
/>
|
||||
</VariablePopupRecordProvider>
|
||||
</SchemaComponentOptions>
|
||||
</CollectionProvider>
|
||||
<a onClick={handleClick}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user