From 4e55b0e9bdd3bbc22c1ea5792922c31140d6fd32 Mon Sep 17 00:00:00 2001 From: Soybean Date: Mon, 22 Jul 2024 18:34:45 +0800 Subject: [PATCH] fix(projects): fix HorizontalMixMenu inverted. fixed #563 --- .../modules/global-menu/modules/horizontal-mix-menu.vue | 3 --- .../global-menu/modules/reversed-horizontal-mix-menu.vue | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/layouts/modules/global-menu/modules/horizontal-mix-menu.vue b/src/layouts/modules/global-menu/modules/horizontal-mix-menu.vue index 833916704..66baa6cf1 100644 --- a/src/layouts/modules/global-menu/modules/horizontal-mix-menu.vue +++ b/src/layouts/modules/global-menu/modules/horizontal-mix-menu.vue @@ -18,8 +18,6 @@ const themeStore = useThemeStore(); const { allMenus, childLevelMenus, activeFirstLevelMenuKey, setActiveFirstLevelMenuKey } = useMixMenuContext(); const { routerPushByKeyWithMetaQuery } = useRouterPush(); -const inverted = computed(() => !themeStore.darkMode && themeStore.sider.inverted); - const selectedKey = computed(() => { const { hideInMenu, activeMenu } = route.meta; const name = route.name as string; @@ -53,7 +51,6 @@ function handleSelectMixMenu(menu: App.Global.Menu) { !themeStore.darkMode && themeStore.sider.inverted); - const selectedKey = computed(() => { const { hideInMenu, activeMenu } = route.meta; const name = route.name as string; @@ -86,7 +84,6 @@ watch( :collapsed-width="themeStore.sider.collapsedWidth" :collapsed-icon-size="22" :options="childLevelMenus" - :inverted="inverted" :indent="18" @update:value="routerPushByKeyWithMetaQuery" />