king
2021-12-16 b5364600d98c8749caba625ec813d4fe670d0a19
src/tabviews/custom/components/tree/antd-tree/index.jsx
@@ -170,7 +170,7 @@
    const { config } = this.state
    if (!config.setting.supModule || config.setting.supModule !== MenuID) return
    if (id !== this.state.BID) {
    if (id !== this.state.BID || id !== '') {
      this.setState({ BID: id }, () => {
        this.loadData()
      })
@@ -252,14 +252,14 @@
      logMap.set(val, true)
      if (pval === config.wrap.mark) {
        parentNodes.push({
          // ...item,
          ...item,
          $title: item[config.wrap.labelField] || '',
          $key: val,
          $parentId: ''
        })
      } else if (pval) {
        _options.push({
          // ...item,
          ...item,
          $title: item[config.wrap.labelField] || '',
          $key: val,
          $parentId: pval
@@ -416,6 +416,7 @@
    }
    if (selected) {
      delete _data.children
      MKEmitter.emit('resetSelectLine', config.uuid, (_data ? _data.$key : ''), _data)
    }