king
2020-12-15 bc5ec1017fd8a140ec5c30ea9e8ea839d5bf1bda
src/tabviews/custom/components/card/prop-card/index.jsx
@@ -230,13 +230,15 @@
  }
  changeCard = (index, item) => {
    const { config } = this.state
    const { config, data, activeKey } = this.state
    if (config.wrap.switch !== 'true') return
    if (!config.wrap.cardType || activeKey === index) return
    this.setState({
      activeKey: index
    })
    MKEmitter.emit('resetSelectLine', config.uuid, (item.setting.primaryId || ''), data)
  }
  render() {