Skip to content

Commit

Permalink
fix: 修复tab组件透传className未赋值
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhicong authored and yangwei9012 committed Dec 10, 2024
1 parent 79540a2 commit ed7d39c
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 ed7d39c

Please sign in to comment.