king
2020-10-21 5423c7caa9723e0b232ea6c5ef4aaf90bd7a3334
src/templates/modalconfig/checkCard/index.jsx
@@ -1,10 +1,8 @@
import React, {Component} from 'react'
import PropTypes from 'prop-types'
// import { fromJS } from 'immutable'
import { Col, Row } from 'antd'
import './index.scss'
class CheckCard extends Component {
  static propTpyes = {
@@ -17,17 +15,7 @@
    onChange: PropTypes.func,    // 数据切换
  }
  state = {
    selectKeys: null,       // 选中数据id
  }
  UNSAFE_componentWillMount () {
  }
  UNSAFE_componentWillReceiveProps (nextProps) {
  }
  state = {}
  getCards = () => {
    const { display, width, options, fields, ratio } = this.props
@@ -62,7 +50,6 @@
  }
  render() {
    return (
      <div className="check-card-edit-box" style={{marginTop: '10px'}}>
        <Row gutter={12}>{this.getCards()}</Row>