bugfix 修复子菜单选中时,父菜单也高亮的问题

(cherry picked from commit db106834a7)
pull/420/head
YunaiV 2024-02-29 23:37:25 +08:00 committed by shizhong
parent 4e1cd96ca7
commit 3447d260b7
2 changed files with 1 additions and 2 deletions

View File

@ -149,7 +149,6 @@ $prefix-cls: #{$namespace}-menu;
} }
// //
.#{$elNamespace}-sub-menu.is-active,
.#{$elNamespace}-menu-item.is-active { .#{$elNamespace}-menu-item.is-active {
color: var(--left-menu-text-active-color) !important; color: var(--left-menu-text-active-color) !important;
background-color: var(--left-menu-bg-active-color) !important; background-color: var(--left-menu-bg-active-color) !important;

View File

@ -1,5 +1,5 @@
import { defineStore } from 'pinia' import { defineStore } from 'pinia'
import { store } from '../index' import { store } from '@/store'
import { cloneDeep } from 'lodash-es' import { cloneDeep } from 'lodash-es'
import remainingRouter from '@/router/modules/remaining' import remainingRouter from '@/router/modules/remaining'
import { flatMultiLevelRoutes, generateRoute } from '@/utils/routerHelper' import { flatMultiLevelRoutes, generateRoute } from '@/utils/routerHelper'