Skip to content

Commit

Permalink
fix: 修复tab组件透传className未赋值
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhicong committed Dec 10, 2024
1 parent 79540a2 commit e5de18d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/amis-ui/src/components/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ export class Tabs extends React.Component<TabsProps, any> {
iconPosition,
title,
toolbar,
className,
tabClassName,
closable: tabClosable,
tip,
Expand Down Expand Up @@ -671,6 +672,7 @@ export class Tabs extends React.Component<TabsProps, any> {
titleClassName,
activeKey === eventKey ? 'is-active' : '',
disabled ? 'is-disabled' : '',
className,
tabClassName
)}
key={this.generateTabKey(hash, eventKey, index)}
Expand Down

0 comments on commit e5de18d

Please sign in to comment.