input-table配置合并单元格后,表格错行
Opened this issue · 1 comments
findreamer commented
描述问题:
升级至最新amis版本后,input-table配置合并单元,编辑输入框,表格错行。amis-v3.2.0未发现此bug。
截图或视频:
Screen.Recording.2024-04-28.at.12.20.14.mov
如何复现(请务必完整填写下面内容):
-
你是如何使用 amis 的?
npm -
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
amis 6.3.0 -
粘贴有问题的完整
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)、编辑【商标得分】列输入框,表格布局错位。
github-actions commented
👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.