king
2019-12-06 d05e0494d938c165d328c37ba452a2a8579ed724
src/templates/modalconfig/settingform/index.jsx
@@ -3,16 +3,10 @@
import { Form, Row, Col, Input, Radio, InputNumber } from 'antd'
import './index.scss'
// const { TextArea } = Input
class SettingForm extends Component {
  static propTpyes = {
    dict: PropTypes.object, // 字典项
    data: PropTypes.object
  }
  state = {
  }
  handleConfirm = () => {
@@ -31,7 +25,7 @@
  render() {
    const { data } = this.props
    const { getFieldDecorator } = this.props.form
    console.log(data)
    const formItemLayout = {
      labelCol: {
        xs: { span: 24 },
@@ -72,19 +66,6 @@
              })(<InputNumber min={30} max={90} precision={0} />)}
            </Form.Item>
          </Col>
          {/* <Col span={24}>
            <Form.Item label="数据源" className="textarea">
              {getFieldDecorator('dataresource', {
                initialValue: data.dataresource,
                rules: [
                  {
                    required: true,
                    message: dict['form.required.input'] + '数据源!'
                  }
                ]
              })(<TextArea rows={4} />)}
            </Form.Item>
          </Col> */}
        </Row>
      </Form>
    )