amis icon indicating copy to clipboard operation
amis copied to clipboard

input-table配置合并单元格后,表格错行

Open findreamer opened this issue 1 year ago • 1 comments

描述问题:

升级至最新amis版本后,input-table配置合并单元,编辑输入框,表格错行。amis-v3.2.0未发现此bug。

截图或视频:

https://github.com/baidu/amis/assets/116187210/f82d0057-de79-43b7-a85b-f1a0f81bccd9

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的? npm

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在 amis 6.3.0

  3. 粘贴有问题的完整 amis schema 代码:

{
            type: 'page',
            title: '用户管理',
            body: [
             {
              type: 'form',
              data: {
                table: [
                  {
                    company: "深圳思科",
                    totalPrice: 4400,
                    score: "1",
                    totalAmout: 4400
                  },
                  {
                    company: "北京大同",
                    totalPrice: 4000,
                    score: "12",
                    totalAmout: 4000
                  },
                  {
                    company: "上海威远",
                    totalPrice: 4000,
                    score: "13",
                    totalAmout: 4000
                  }
                ]
              },
              body: [
                {
                  type: 'input-table',
                  name: "table",
                  combineNum: 4,
                  combineFromIndex: 2,
                  columns: [
                    {
                      label: '公司名称',
                      name: 'company'
                    },
                    {
                      label: '合计总价',
                      name: 'totalPrice',
                      type: 'number'
                    },
                    {
                      label: '商标得分',
                      name: 'score',
                      type: "input-text"
                    },
                    {
                      label: '报价总价',
                      name: 'totalAmout',
                      type: 'number'
                    }
                  ]
                  
                }
              ]
             }
            ]
          }
  1. 操作步骤 1)、编辑【商标得分】列输入框,表格布局错位。

findreamer avatar Apr 28 '24 04:04 findreamer

👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

github-actions[bot] avatar Apr 28 '24 04:04 github-actions[bot]