<Form.Item label='XXX'>
{
getFieldDecorator('onOff', {valuePropName:'checked', initialValue: onoff})
(
<Switch size={size} onChange={this.onAndOff} />
)
}
</Form.Item>
网友评论