|  | @@ -1,8 +1,10 @@
 | 
	
		
			
				|  |  | +import { useEffect } from 'react'
 | 
	
		
			
				|  |  |  import { BaseMenuEnum } from '@/pages/Schema/Base'
 | 
	
		
			
				|  |  |  import { connect } from 'umi'
 | 
	
		
			
				|  |  |  import FormRender, { useForm } from 'form-render'
 | 
	
		
			
				|  |  |  import type { SchemaBaseModelState } from '@/pages/Schema/Base/model'
 | 
	
		
			
				|  |  |  import type { ConnectProps } from 'umi'
 | 
	
		
			
				|  |  | +import { PageContainer } from '@ant-design/pro-layout'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  type CompanyAddProps = ConnectProps & {
 | 
	
		
			
				|  |  |    schema?: Record<string, any> | null
 | 
	
	
		
			
				|  | @@ -19,7 +21,13 @@ const CompanyAdd: React.FC<CompanyAddProps> = ({ dispatch, schema }) => {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }, [])
 | 
	
		
			
				|  |  |    const form = useForm()
 | 
	
		
			
				|  |  | -  return <div>{schema && <FormRender form={form} schema={schema} />}</div>
 | 
	
		
			
				|  |  | +  return (
 | 
	
		
			
				|  |  | +    <PageContainer title={false}>
 | 
	
		
			
				|  |  | +      <div className="bg-white p-4">
 | 
	
		
			
				|  |  | +        {schema && <FormRender form={form} schema={JSON.parse(schema)} />}
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  | +    </PageContainer>
 | 
	
		
			
				|  |  | +  )
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default connect(({ schemaBase }: { schemaBase: SchemaBaseModelState }) => ({
 |