king
2022-12-06 0245e64a9dff794903e546c3bdf9fef7efeefdf1
src/tabviews/custom/components/card/prop-card/index.jsx
@@ -116,6 +116,10 @@
    _config.wrap.wrapClass =  `${_config.wrap.selStyle} ${_config.wrap.cardType || ''} ${_config.wrap.scale || ''} ${_config.wrap.layout || 'grid'}-layout float-${_config.wrap.cardFloat || 'left'}`
    if (_config.wrap.display === 'hidden') {
      _config.style.display = 'none'
    }
    this.setState({
      selected,
      sync: _sync,
@@ -141,6 +145,9 @@
        }, 200)
      }
      if (_config.wrap.datatype === 'dynamic') {
        this.autoExec()
      }
      if (!_config.wrap.cardType && _data.$$uuid) {
        setTimeout(() => {
          this.transferLine()
@@ -209,6 +216,7 @@
        } else if (!config.wrap.cardType && _data.$$uuid) {
          this.transferLine()
        }
        this.autoExec()
      })
    } else if (config.setting.useMSearch && nextProps.mainSearch && !is(fromJS(this.props.mainSearch), fromJS(nextProps.mainSearch))) {
      this.setState({}, () => {
@@ -235,6 +243,16 @@
        }
      })
    }
  }
  autoExec = () => {
    const { config, data } = this.state
    if (!config.wrap.autoExec || data.$$empty) return
    setTimeout(() => {
      MKEmitter.emit('triggerBtnId', config.wrap.autoExec, [data])
    }, 200)
  }
  checkTopLine = () => {
@@ -384,6 +402,7 @@
        } else {
          this.transferLine()
        }
        this.autoExec()
      })
      if (config.timer && config.clearField) {