king
2021-12-30 7cdc8fa2ed47233c32ed9e1e969999684a3a5e04
src/tabviews/zshare/mutilform/mkCheckCard/index.jsx
@@ -36,7 +36,7 @@
  componentDidMount () {
    const { config } = this.state
    if (config.multiple !== 'true' && config.linkField) {
    if (config.linkField) {
      MKEmitter.addListener('mkFP', this.mkFormHandle)
    }
  }
@@ -69,12 +69,20 @@
    const { config } = this.state
    let options = config.oriOptions.filter(option => option.ParentID === parentId)
    if (config.multiple === 'true') {
      this.setState({
        options,
        selectKeys: []
      })
      this.props.onChange('')
    } else {
    let _option = options[0] && !options[0].$disabled ? options[0] : null
    let val = _option ? _option.$value : ''
    this.setState({
      options,
      value: val
        selectKeys: val
    })
    let other = {}
@@ -98,6 +106,7 @@
      })
    }
  }
  }
  changeCard = (item) => {
    const { selectKeys, config } = this.state