Skip to content

Commit

Permalink
fix(projects): fix Reverse the top blending mode. Select Secondary ta…
Browse files Browse the repository at this point in the history
…b. Primary tab is not displayed correctly .close #21
  • Loading branch information
mufeng889 committed Dec 9, 2024
1 parent b9f0ecf commit b2f071c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const HorizontalMenu: FC<Props> = memo(({ mode }) => {
inlineIndent={18}
items={menus.get(mode)}
mode="horizontal"
selectedKeys={selectKey}
selectedKeys={mode === '3' ? [selectKey[0].split('_')[0]] : selectKey}
style={{ lineHeight: `${themeSettings.header.height}px` }}
onSelect={handleClickMenu}
/>
Expand Down

0 comments on commit b2f071c

Please sign in to comment.