mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 11:56:29 +00:00
Revert "fix(popup): fix the issue where the second layer popup cannot be opened"
This reverts commit 71e9a43f36
.
This commit is contained in:
parent
71e9a43f36
commit
20f64c7d8a
@ -7,9 +7,10 @@
|
||||
* For more information, please refer to: https://www.nocobase.com/agreement.
|
||||
*/
|
||||
|
||||
import { IRecursionFieldProps, ISchemaFieldProps, RecursionField, Schema } from '@formily/react';
|
||||
import { IRecursionFieldProps, ISchemaFieldProps, Schema } from '@formily/react';
|
||||
import { useUpdate } from 'ahooks';
|
||||
import React, { memo, useContext, useMemo } from 'react';
|
||||
import { NocoBaseRecursionField } from '../../formily/NocoBaseRecursionField';
|
||||
import { SchemaComponentContext } from '../context';
|
||||
import { SchemaComponentOptions } from './SchemaComponentOptions';
|
||||
|
||||
@ -67,7 +68,7 @@ const RecursionSchemaComponent = memo((props: ISchemaFieldProps & SchemaComponen
|
||||
return (
|
||||
<SchemaComponentContext.Provider value={value}>
|
||||
<SchemaComponentOptions inherit components={components} scope={scope}>
|
||||
<RecursionField {...others} schema={schema} />
|
||||
<NocoBaseRecursionField {...others} schema={schema} isUseFormilyField />
|
||||
</SchemaComponentOptions>
|
||||
</SchemaComponentContext.Provider>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user