Skip to content

Commit

Permalink
fix: 修复 FDescriptionItem 异常报错
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean-gao committed Sep 9, 2024
1 parent e699e36 commit 148c4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/descriptions/descriptionsItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default defineComponent({
= parentChildren
.filter(isVNode)
.find((c) =>
c.props?.class.includes(
c.props?.class?.includes(
`${DESCRIPTIONS_PREFIX_CLASS}-body`,
),
)?.children ?? [];
Expand Down

0 comments on commit 148c4c8

Please sign in to comment.