content: import React from 'react';
  import PropTypes from 'prop-types';
  import { Form, Select } from 'antd';
  const Option = Select.Option;
  const FormItem = Form.Item;
  
  const OperTypeSelect = (props) => (
    <FormItem label={props.label}>
      {props.getFieldDecorator(props.name, {
        initialValue: "0",
      })(
        <Select style={{width: '100%'}} size="default">
          <Option value="0">全部</Option>
          <Option value="1">增加</Option>
          <Option value="2">删除</Option>
          <Option value="3">修改</Option>
        </Select>
      )}
    </FormItem>
  )
  
  OperTypeSelect.propTypes = {
    getFieldDecorator: PropTypes.func.isRequired,
    label: PropTypes.string.isRequired,
    name: PropTypes.string.isRequired,
  }
  
  export default OperTypeSelect;
  