From 5423c7caa9723e0b232ea6c5ef4aaf90bd7a3334 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 21 十月 2020 14:46:25 +0800 Subject: [PATCH] 2020-10-21 --- src/templates/modalconfig/checkCard/index.jsx | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/src/templates/modalconfig/checkCard/index.jsx b/src/templates/modalconfig/checkCard/index.jsx index bc378bf..ea21875 100644 --- a/src/templates/modalconfig/checkCard/index.jsx +++ b/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> -- Gitblit v1.8.0