king
2020-12-03 753ac5f57b10588e225c1d82203b13a81bc9c9a7
src/tabviews/zshare/normalTable/index.jsx
@@ -110,7 +110,7 @@
      if (item.type === 'colspan' && item.unfold === 'true') {
        cell = {title: item.label, children: []}
        item.subColumn.forEach(col => {
        item.subcols.forEach(col => {
          if (col.rowspan === 'true') {
            rowspan = col
@@ -617,12 +617,12 @@
        </div>
      )
    } else if (item.type === 'colspan') {
      if (item.subColumn.length === 0) return ''
      if (item.subcols.length === 0) return ''
      let ordertype = item.order
      let contents = []
      let images = []
      item.subColumn.forEach(col => {
      item.subcols.forEach(col => {
        if (!col.field || !record.hasOwnProperty(col.field)) return
        
        if (col.type === 'number') {
@@ -885,7 +885,7 @@
    let index = ''
    let _activeIndex = null
    if (selectedRowKeys.length > 0) {
      index = selectedRowKeys[selectedRowKeys.length - 1]
      index = selectedRowKeys.slice(-1)[0]
    }
    if (setting.tableType === 'checkbox') {
@@ -918,7 +918,7 @@
      if (newkeys.includes(index)) {
        newkeys = newkeys.filter(item => item !== index)
        if (newkeys.length > 0) {
          _index = newkeys[newkeys.length - 1]
          _index = newkeys.slice(-1)[0]
        }
        this.changedata(_index)
      } else {