mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 13:16:08 +00:00
style: import action modal formlayout (#2809)
This commit is contained in:
parent
843677c183
commit
9311b4730a
@ -1,7 +1,6 @@
|
|||||||
import { SchemaComponentOptions } from '@nocobase/client';
|
import { SchemaComponentOptions } from '@nocobase/client';
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { createPortal } from 'react-dom';
|
import { createPortal } from 'react-dom';
|
||||||
import { FormLayout } from '@formily/antd-v5';
|
|
||||||
import { ImportActionInitializer, ImportDesigner, ImportInitializerProvider } from '.';
|
import { ImportActionInitializer, ImportDesigner, ImportInitializerProvider } from '.';
|
||||||
import { ImportContext } from './context';
|
import { ImportContext } from './context';
|
||||||
import { ImportModal, ImportStatus } from './ImportModal';
|
import { ImportModal, ImportStatus } from './ImportModal';
|
||||||
@ -12,7 +11,7 @@ export const ImportPluginProvider = (props: any) => {
|
|||||||
const { uploadValidator, beforeUploadHandler, validateUpload } = useShared();
|
const { uploadValidator, beforeUploadHandler, validateUpload } = useShared();
|
||||||
return (
|
return (
|
||||||
<SchemaComponentOptions
|
<SchemaComponentOptions
|
||||||
components={{ ImportActionInitializer, ImportDesigner, FormLayout }}
|
components={{ ImportActionInitializer, ImportDesigner }}
|
||||||
scope={{
|
scope={{
|
||||||
uploadValidator,
|
uploadValidator,
|
||||||
validateUpload,
|
validateUpload,
|
||||||
|
Loading…
Reference in New Issue
Block a user