king
2022-05-29 a1b34fcc49cfeb7324cb7f4584380426ec6b092f
src/tabviews/zshare/normalTable/index.jsx
@@ -754,7 +754,6 @@
                  setting={this.props.setting}
                  columns={this.props.fields || this.props.columns}
                  ContainerId={this.props.ContainerId}
                  lineBtn={true}
                />
              )
            } else if (btn.OpenType === 'popview') {
@@ -767,7 +766,6 @@
                  selectedData={[record]}
                  BData={this.props.BData}
                  setting={this.props.setting}
                  lineBtn={true}
                />
              )
            } else if (btn.OpenType === 'tab') {
@@ -780,7 +778,6 @@
                  BData={this.props.BData}
                  MenuID={this.props.MenuID}
                  setting={this.props.setting}
                  lineBtn={true}
                />
              )
            } else if (btn.OpenType === 'innerpage' || btn.OpenType === 'outerpage') {
@@ -792,7 +789,6 @@
                  selectedData={[record]}
                  BData={this.props.BData}
                  setting={this.props.setting}
                  lineBtn={true}
                />
              )
            }
@@ -1049,11 +1045,12 @@
   * 
   */
  onSelectChange = selectedRowKeys => {
    const { setting } = this.props
    const { setting, data } = this.props
    let index = ''
    let _activeIndex = null
    if (selectedRowKeys.length > 0) {
      selectedRowKeys = selectedRowKeys.filter(key => !data[key].$disabled)
      index = selectedRowKeys.slice(-1)[0]
    }
@@ -1065,7 +1062,7 @@
    this.setState({ selectedRowKeys, activeIndex: _activeIndex })
    let selects = this.props.data.filter((item, _index) => selectedRowKeys.includes(_index) && !item.$disabled)
    let selects = data.filter((item, _index) => selectedRowKeys.includes(_index) && !item.$disabled)
    this.props.chgSelectData(selects)
  }