import React from 'react' import { Checkbox, Radio, Row, Col } from "antd" import { WeaInput } from "ecCom" const CheckboxGroup = Checkbox.Group; export default class CustomForm extends React.Component { render() { return (
{ this.props.condition.map(item => { return ( {item.label} : { item.conditionType == "INPUT" && } { item.conditionType == "RADIO" && item.options && { item.options.map(o => ( {o.showname} )) } } { item.conditionType == "CHECKBOX" && item.options && ({label: o.showname, value: o.key}))} /> } ) }) }
) } }