Skip to content

Commit

Permalink
chore(descriptions): Reveal the key to prevent errors (#8394)
Browse files Browse the repository at this point in the history
* chore(ProDescriptions): Reveal the key to prevent errors

* chore(test): update snapshots

* chore(test): Remove useless tests
  • Loading branch information
zhuba-Ahhh authored May 10, 2024
1 parent 6353b26 commit 8ca118f
Show file tree
Hide file tree
Showing 4 changed files with 3,600 additions and 663 deletions.
1 change: 1 addition & 0 deletions packages/descriptions/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ const schemaToDescriptionsItem = (
<Component>
<FieldRender
{...item}
key={item?.key}
dataIndex={item.dataIndex || index}
mode={fieldMode}
text={contentDom}
Expand Down
Loading

0 comments on commit 8ca118f

Please sign in to comment.