king
2024-02-03 06a670976e2145a10ea05207041d3cf3164cd380
src/menu/components/table/normal-table/index.jsx
@@ -280,7 +280,7 @@
  getWrapForms = () => {
    const { wrap, action, columns, cols } = this.state.card
    let _actions = [...action]
    let _actions = []
    cols.forEach(col => {
      if (col.type === 'custom') {
@@ -292,7 +292,7 @@
      }
    })
    return getWrapForm(wrap, _actions, columns)
    return getWrapForm(wrap, _actions, columns, action)
  }
  updateWrap = (res) => {
@@ -374,7 +374,7 @@
            <PlusOutlined className="plus" title="添加列" onClick={() => this.addColumns()}/>
            {appType !== 'mob' ? <PlusCircleOutlined className="plus" title="添加搜索" onClick={this.addSearch}/> : null}
            <PlusSquareOutlined className="plus" title="添加按钮" onClick={this.addButton}/>
            <NormalForm title="表格设置" width={800} update={this.updateWrap} getForms={this.getWrapForms}>
            <NormalForm title="表格设置" width={850} update={this.updateWrap} getForms={this.getWrapForms}>
              <EditOutlined style={{color: '#1890ff'}} title="编辑"/>
            </NormalForm>
            <CopyComponent type="normaltable" card={card}/>