| | |
| | | import asyncComponent from '@/utils/asyncComponent' |
| | | import './index.scss' |
| | | |
| | | const MkIcon = asyncComponent(() => import('@/components/mkIcon')) |
| | | const MkEditIcon = asyncComponent(() => import('@/components/mkIcon')) |
| | | |
| | | class SettingForm extends Component { |
| | | static propTpyes = { |
| | | dict: PropTypes.object, // 字典项 |
| | | config: PropTypes.object, // 表单配置信息 |
| | | inputSubmit: PropTypes.any // 回车提交事件 |
| | | } |
| | |
| | | {getFieldDecorator('icon', { |
| | | initialValue: config.wrap.icon |
| | | })( |
| | | <MkIcon allowClear/> |
| | | <MkEditIcon options={['normal', 'data', 'direction', 'edit', 'hint']} allowClear/> |
| | | )} |
| | | </Form.Item> |
| | | </Col> |