mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
commit
9a51927562
@ -70,13 +70,7 @@ export class Tabs extends React.Component<TabsProps> {
|
||||
key={index}
|
||||
onClick={() => disabled ? '' : this.handleSelect(eventKey)}
|
||||
>
|
||||
{icon ? (
|
||||
<div>
|
||||
<i className={icon} /><a>{title}</a>
|
||||
</div>
|
||||
) : (
|
||||
<a>{title}</a>
|
||||
)}
|
||||
<a>{icon ? <i className={icon} /> : null} {title}</a>
|
||||
</li>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user