Skip to content

Commit b2f071c

Browse files
committed
fix(projects): fix Reverse the top blending mode. Select Secondary tab. Primary tab is not displayed correctly .close #21
1 parent b9f0ecf commit b2f071c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/modules/global-menu/components/HorizontalMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const HorizontalMenu: FC<Props> = memo(({ mode }) => {
3939
inlineIndent={18}
4040
items={menus.get(mode)}
4141
mode="horizontal"
42-
selectedKeys={selectKey}
42+
selectedKeys={mode === '3' ? [selectKey[0].split('_')[0]] : selectKey}
4343
style={{ lineHeight: `${themeSettings.header.height}px` }}
4444
onSelect={handleClickMenu}
4545
/>

0 commit comments

Comments
 (0)