king
2020-09-29 30273c297c59887434f44a75df75f13db6c8885c
src/menu/components/card/cardcellcomponent/index.jsx
@@ -17,7 +17,8 @@
class CardCellComponent extends Component {
  static propTpyes = {
    config: PropTypes.object,        // 菜单配置信息
    updateElement: PropTypes.func     // 菜单配置更新
    elements: PropTypes.array,       // 元素集
    updateElement: PropTypes.func    // 菜单配置更新
  }
  state = {
@@ -32,10 +33,10 @@
   * @description 搜索条件初始化
   */
  UNSAFE_componentWillMount () {
    const { config } = this.props
    const { elements } = this.props
    this.setState({
      elements: fromJS(config.elements).toJS()
      elements: fromJS(elements).toJS()
    })
  }