Skip to content

Commit

Permalink
🐛 fix: page-tab internationalization error (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 authored Nov 24, 2023
1 parent 650ce66 commit c27037d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/slots/ContentTabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ const ContentTabs: FC<IContentTabsProps> = memo(({ tabs, tabKey: key, onChange }
activeKey={key || 'default'}
className={styles.cls}
items={[
{ key: 'default', value: 'default', label: '文档' },
{
key: 'default',
value: 'default',
label: intl.formatMessage({ id: 'content.tabs.default' })
},
...tabs.map((tab) => ({
key: tab.key,
value: tab.key,
Expand Down

1 comment on commit c27037d

@vercel
Copy link

@vercel vercel bot commented on c27037d Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.