Skip to content

Commit 0dc25d9

Browse files
authored
Merge pull request #36 from kne-union/linzp
修改bug
2 parents a1270e4 + ff324e8 commit 0dc25d9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kne/info-page",
3-
"version": "0.1.16",
3+
"version": "0.1.17",
44
"description": "一般用在复杂的详情展示页面,InfoPage提供了一个标准的展示信息的格式",
55
"syntax": {
66
"esmodules": true

src/Report/Table.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,23 @@ const Table = ({ report }) => {
6767
}, 0);
6868

6969
return (
70-
<div>
70+
<div key={groupName}>
7171
{groupColumn?.isSubTitle && currentGroup ? (
7272
<Divider>{currentGroup.label}</Divider> /*<Row wrap={false} className={style['table-sub-header']}>
7373
<Col>
7474
<div className={style['table-header-col-item']}>{currentGroup.label}</div>
7575
</Col>
7676
</Row>*/
7777
) : null}
78-
<Row key={groupName} wrap={false}>
78+
<Row wrap={false}>
7979
{/*<Col span={groupColumn.span}>
8080
<div className={style['table-group-label']}>{currentGroup.label}</div>
8181
</Col>*/}
8282
<Col span={otherSpan}>
8383
{list.map((item, index) => {
8484
return (
85-
<Flex vertical gap={8}>
86-
<Row wrap={false} key={index} className={classNames({ [style['table-row-item']]: index !== list?.length - 1 })}>
85+
<Flex vertical gap={8} key={index}>
86+
<Row wrap={false} className={classNames({ [style['table-row-item']]: index !== list?.length - 1 })}>
8787
{Array.from(otherColumns.values()).map(({ name }) => {
8888
const currentColumn = otherColumns.get(name);
8989
return (

0 commit comments

Comments
 (0)