Skip to content

Commit 4e55b0e

Browse files
committed
fix(projects): fix HorizontalMixMenu inverted. fixed #563
1 parent 5377002 commit 4e55b0e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/layouts/modules/global-menu/modules/horizontal-mix-menu.vue

-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ const themeStore = useThemeStore();
1818
const { allMenus, childLevelMenus, activeFirstLevelMenuKey, setActiveFirstLevelMenuKey } = useMixMenuContext();
1919
const { routerPushByKeyWithMetaQuery } = useRouterPush();
2020
21-
const inverted = computed(() => !themeStore.darkMode && themeStore.sider.inverted);
22-
2321
const selectedKey = computed(() => {
2422
const { hideInMenu, activeMenu } = route.meta;
2523
const name = route.name as string;
@@ -53,7 +51,6 @@ function handleSelectMixMenu(menu: App.Global.Menu) {
5351
<FirstLevelMenu
5452
:menus="allMenus"
5553
:active-menu-key="activeFirstLevelMenuKey"
56-
:inverted="inverted"
5754
:sider-collapse="appStore.siderCollapse"
5855
:dark-mode="themeStore.darkMode"
5956
:theme-color="themeStore.themeColor"

src/layouts/modules/global-menu/modules/reversed-horizontal-mix-menu.vue

-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ const {
2727
} = useMixMenuContext();
2828
const { routerPushByKeyWithMetaQuery } = useRouterPush();
2929
30-
const inverted = computed(() => !themeStore.darkMode && themeStore.sider.inverted);
31-
3230
const selectedKey = computed(() => {
3331
const { hideInMenu, activeMenu } = route.meta;
3432
const name = route.name as string;
@@ -86,7 +84,6 @@ watch(
8684
:collapsed-width="themeStore.sider.collapsedWidth"
8785
:collapsed-icon-size="22"
8886
:options="childLevelMenus"
89-
:inverted="inverted"
9087
:indent="18"
9188
@update:value="routerPushByKeyWithMetaQuery"
9289
/>

0 commit comments

Comments
 (0)