Commit 9d81f411 authored by 前端-许佳敏's avatar 前端-许佳敏

refix

parent 07f0bda3
......@@ -24,6 +24,7 @@ import CustomRadio from './components/CustomRadio';
import SearchSelect from './components/SearchSelect';
import './index.less'
import { Checkbox } from '@formily/antd-components';
import cx from 'classnames'
export interface NiceFormProps extends IAntdSchemaFormProps {}
......@@ -36,6 +37,13 @@ const RowLayout = styled(props => <Row justify='end' {...props}/>)`
}
`
const renderCol = (schema, isLast) => {
const { flexcol = {} } = schema['x-component-props']
return <Col style={isLast ? {} : {marginRight: 24}} {...flexcol} key={schema.path}>
<SchemaField schema={schema.toJSON()} path={schema.path}/>
</Col>
}
// 自定义flex布局容器
registerVirtualBox('flex-box', props => {
const childProperties = props.schema.getOrderProperties()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment