king
2022-07-14 49d0886f6855f1fb1c628b8205a8ae299aa3db09
src/tabviews/zshare/mutilform/mkCheckCard/index.jsx
@@ -60,11 +60,11 @@
  }
  UNSAFE_componentWillReceiveProps (nextProps) {
    const { config } = this.props
    const { config } = this.state
    if (!is(fromJS(config.oriOptions), fromJS(nextProps.config.oriOptions))) {
      this.setState({
        config: fromJS(nextProps.config).toJS(),
        config: {...config, oriOptions: nextProps.config.oriOptions},
        options: fromJS(nextProps.config.options).toJS()
      })
    }
@@ -178,7 +178,7 @@
  getCards = () => {
    const { selectKeys, options, config } = this.state
    const { display, width, fields, picratio, multiple, backgroundColor, selectStyle, selectClass } = config
    if (options.length === 0) {
      return null
    } else if (display === 'color') {