king
2023-05-18 e9e8b1c7b481415714fff9a0d83099fd5a7d6ff0
src/menu/components/table/normal-table/index.jsx
@@ -106,11 +106,6 @@
              cell.uuid = Utils.getuuid()
              return cell
            })
          } else if (col.type === 'action' && col.elements) {
            col.elements = col.elements.map(cell => {
              cell.uuid = Utils.getuuid()
              return cell
            })
          }
          return col
        })
@@ -324,8 +319,13 @@
    let _actions = [...action]
    cols.forEach(col => {
      if (col.type !== 'action') return
      _actions.push(...col.elements)
      if (col.type === 'custom') {
        col.elements.forEach(cell => {
          if (cell.eleType !== 'button') return
          _actions.push(cell)
        })
      }
    })
    return getWrapForm(wrap, _actions, columns)